Hi,
I have a problem with memory leaks in my application. I'm doing a
streamline visualization (as GL_LINE_STRIP) with a variable number of
geometries (from 50 up to 5000 streamlines). Every streamline is stored
in its own geometry.
When my visualization is done and I want to restart it, I call clear()
on the geometry points, colors, indices, length and normals. I store my
geometries and the other objects in GeometryPtr arrays,
GeoIndicesUI32Ptr arrays, and so on . When I change the number of my
streamlines, I clear the objects, detach the geometry nodes from the
scenegraph, delete the arrays and recreate them by setting up the
geometry objects again and adding them back to the scenegraph.
Now my Problem is, that I have memory leaks. It is clear, that my memory
consumption increases, when I create my visualization. But I thought, it
would decrease, when I call clear() or I detach the geometry node from
the scenegraph and delete the arrays. But that is not the case!
Has anyone an idea?
greetings,
Oliver
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users