Hello Edmund,
Edmund_Buchal/[EMAIL PROTECTED] wrote:
> I am currently using OpenSG 1.8 as a geometry parser for a library which
> repeatedly loads geometry (in VRLM-Format), does some preprocessing on
> the geometry, then passes the geometry data to a collision detection
> library and destroys the scene loaded by OpenSG.
>
> Since the library is used by the the GUI of a commercial control it is
> important that this process is performed without producing memory leaks
> (the GUI will possibly run for a very long time without being restarted
> and will perform thousands of the operations described above).
>
> I have allready succeded in tracking down and removing some memory leaks
> in the OpenSG-parser using valgrind (loading *.osb-Files works fine now),
> but there still are some leaks in the *.wrl-Parser left (about 16k for
> every new VRML-file that is loaded, independent of the VRML file size it
> seems).
>
> I would appreciate any help on removing the remaining leaks. Some hints on
> what exactly causes this leaks and how to fix them would be nice. A more
> in-depth description on how the OpenSG *.wrl-Parser works would also help.
my apologies for not replying to your earlier mail, I was hoping to be
able to have some time to look into the issue before replying, but
unfortunately did not get to it yet.
I'll try to take a look at this over the weekend, since I need to
understand how the VRML loader works myself - so I can not really
describe how it works at this point. If you have some specific questions
I'm sure Gerrit (who wrote the parser) would answer them.
In the mean time, since you already seem to have fixed some leaks it
would be very helpful, if you could send a patch for those, otherwise I
would likely end up fixing the same problems first.
Thanks,
Carsten
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core