[osg-users] Clear scene data and underlying memory structures

Jannik Heller scrawl at baseoftrash.de
Fri May 13 03:13:54 PDT 2016


Hi,

There may be some memory allocations left in the graphics driver. OSG does all the OpenGL work from a background thread, so the memory used by OpenGL can not be reclaimed immediately upon removing the node from the scene. Try calling frame() a few times and then see if your memory usage decreases again.

Cheers,
Jannik

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67088#67088








More information about the osg-users mailing list