Hi Nick,

I nailed this down to

ocean->getOceanScene()->setSunDirection(sunpos);

calling this each frame increases the mem usage

I'll check this out on Monday at work. At first glance setSunDirection() shouldn't cause leaks but perhaps it's the dirty each frame that it causes that leaks. Perhaps a missing ref_ptr or a circular ref_ptr.

I'll get back to you on Monday.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to