Giter VIP home page Giter VIP logo

Comments (3)

gcarreno avatar gcarreno commented on June 12, 2024 1

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.

cn17173 avatar cn17173 commented on June 12, 2024

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.

gcarreno avatar gcarreno commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.