[osg-users] Why ref_ptr node can not release memory immediatelly?

Alberto Luaces aluaces at udc.es
Fri Jul 8 00:03:20 PDT 2016


Hi John,

there was a recent discussion on the topic that may be interesting to
you:

http://forum.openscenegraph.org/viewtopic.php?t=15809

"John Lee" <357059570 at qq.com> writes:

> Hi,
>
> In my appllication, there are many child nodes in my root node. When i
> dynamically remove its child node, i find the memory will not free
> immediatelly, it will free sometimes, maybe it will free when i keep
> removing a few child nodes, or it will free when i remove all child
> nodes? Why this happens? And can anyone tell me how to free the scene
> memory immediatelly?
>
> Thank you!

-- 
Alberto




More information about the osg-users mailing list