I don't believe this has anything to do with OSG. This looks like typical MS Windows memory management. Are you saying you don't see this same kind of behavior in non-OSG apps? I certainly have.
Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Miro Janosik Sent: Thursday, April 02, 2009 3:18 AM To: [email protected] Subject: [osg-users] Minimizing OSG app window frees memory Hi, I was wondering why my OSG application frees lots of memory when I minimize its window, and why that memory is not freed if I don't. I noticed that when I create some objects in the scene by loading flt model files and remove them from scene afterwards that not all memory is freed (when looking at application's allocated memory through Task Manager ). If I minimize application's window afterwards then application's allocated memory decreses to level as it was before creation of objects. Any ideas what could be causing this and if this freeing of memory can be executed by some function call ? I would be handy for me, to keep my allocated memory low. My application is using osgViewer::Viewer and dynamic terrain paging, OSG 2.8.0 rc3, Windows XP SP2, Visual Studio 2008. I'm newbie at OSG's mailing list so I hope this was not discussed already. I've been looking through mailing archives and I could not find answer to this question. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

