Comments (3)
Hey @cn17173,
Thanks for the report!!
As soon as I have time, I'll have a go at finding the problem !!
Cheers,
Gus
from laz-json-viewer.
The following two lines of code in the function UpdateTreeFromNode in the unit LJV.Forms.Main may cause memory leaks:
treeNode^.NodeName:=TJSONObject(AJSONData).Names[index];
treeNode^.NodePath:= treeNode^.NodePath + '.' + treeNode^.NodeName;.
lt seems that assigning dynamically allocated string objects to treeNode·.NodeName without releasing the originalobjects may lead to memory leaks. However,l don't know how to modify it.
SetLength(treeNode^.NodeName, 0); SetLength(treeNode^.NodePath, 0); can solve the memory overflow problem, but it will lose the values of NodeName and NodePath.
from laz-json-viewer.
Hey @cn17173,
I'm very, VERY grateful for your initial leg work!!!
This will, for sure, narrow my attention and will be quicker !!
Again, sorry I don't have time right now to pursue it, but it's on my todo list and it will not be forgiven!!
Cheers,
Gus
from laz-json-viewer.
Related Issues (15)
- Better message when app encounters a non JSON file
- Implement drag-and-drop file onto the form
- Fix drag-and-drop ability to drop duplicate files
- Feature: Implement the F12 idea HOT 4
- Add keys to exit
- Deal with file having BOM and/or UTF16
- Add a formated visualization of Numbers
- Hide path when in JSON tab
- Display path of current node
- Why is i18n not working via command line param --lang <lang> HOT 1
- Solve the issue of IntToBin() only returning 32 bit representaton of an Int64 HOT 1
- Chore: Move version stuff to own unit HOT 1
- Add spaces back to Binary representation
- Implement persistence of window size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laz-json-viewer.