Am 08.07.2016 um 10:10 schrieb John Lee:
> Hi,Alberto
> Thank you for your reply.
> The problem at the link you share is exactly what i have now. But I can't find any solution on it. The memory usage is based on windows task manager.
There is no "problem".
1. ) The driver will release the freed memory when it is appropriate.
2.) Relying on the "working set" displayed in the task-manager is hardly
an indication on how much memory is used.
3.) Some data might be shared between nodes (e.g. images), so they can
be removed only if the last reference is gone.
The question is: If you're hitting a memory limit somewhere, than you
might be doing something wrong. This include not using the
reference-counting system correctly or simply cloning data where it
should be shared.
Cheers
Sebastian
P.S.
Also see:
http://forum.openscenegraph.org/viewtopic.php?p=43571#43571