Hi, We are currently using osg 2.8.3, with osgVirtualPlanets in a GIS application (gvSIG-3D). Trying to get a new build we migrated from 2.8.2 to 2.8.3.
Testing the build we have realized that the memory doesn't free as "fast" as previous version, getting a big memory usage of the application. Getting deep on the issue we have compared differences between 2.8.2 an 2.8.3 on DatabasePager and we have seen that some code: if (osgDB::Registry::instance()->getSharedStateManager()) osgDB::Registry::instance()->getSharedStateManager()->prune(); // update the Registry object cache. osgDB::Registry::instance()->updateTimeStampOfObjectsInCacheWithExternalReferences(frameStamp.getReferenceTime()); osgDB::Registry::instance()->removeExpiredObjectsInCache(expiryTime); has been removed from the next methods: void DatabasePager::capped_removeExpiredSubgraphs(const osg::FrameStamp& frameStamp) void DatabasePager::expiry_removeExpiredSubgraphs(const osg::FrameStamp& frameStamp) I'm not sure if the changes are intentionally or maybe a bug was introduced in this part of code. What do you think? Thanks! Rafa. -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es http://gvsig3d.blogspot.com Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org