Detecting memory leaks
Posted by PJDM on Mar 05, 2014; 12:35am
URL: https://forum.jogamp.org/Detecting-memory-leaks-tp4031771.html
I have a working JOGL application. However, using GPU-Z I can see the GPU memory used going up. This could be caused by not matching GenBuffers with DeleteBuffers, for instance.
Poking around in the JOGL source, something like GLObjectTracker looks like it could be useful. Is there a way of telling JOGL to dump what GL objects it thinks are live so I can figure out if I'm leaking memory/names/buffers/etc?
Thanks.
PJDM