Hi, In my programm I have this line inside the viewer's loop:
m_geom = (osg::Vec3Array*) ((dynamic_cast<osg::Vec3Array*> (m_NewGeom)->clone(osg::CopyOp::DEEP_COPY_ARRAYS))); The memory used increases untill the programm fails. I tried delete m_geom, m_geom->clear() and m_geom->erase but it didn't work. How can I release this memory? Thanks, Amujika
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

