Login  Register

Re: Un-managed Memory Usage

Posted by gouessej on Nov 17, 2015; 9:56am
URL: https://forum.jogamp.org/Un-managed-Memory-Usage-tp4035789p4035790.html

Hi

I don't use non free profilers and I'm not paid to sell them. There is a plugin for JVisualVM to visualize the direct memory footprint and it shows the heap usage (build-in) too. Eclipse MAT can be useful to find memory leaks.

What is the remaining problem? Are you sure that you're able to dispose the native memory used by the direct NIO buffers? I can only give you some vague advises. Don't keep any reference on useless Java objects so that the garbage collector can do its job and release the native memory by yourself.
Julien Gouesse | Personal blog | Website