Login  Register

Re: Un-managed Memory Usage

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

Yes, you should avoid passing Java arrays when you can pass NIO buffers and you should always pass direct NIO buffers.

You can look at the retained memory in JVisualVM to find the most heavy objects.
Julien Gouesse | Personal blog | Website