Re: How to delete direct Buffers?
Posted by
gouessej on
Nov 27, 2014; 4:38pm
URL: https://forum.jogamp.org/How-to-delete-direct-Buffers-tp4033631p4033657.html
As far as I know, a direct NIO byte buffer has no attachment, then abc should be null.
There is a difference between the real Java heap usage, the maximum heap size (see -Xmx) and the current size of the Java heap. I know top and htop but keep in mind that Java uses several kinds of memory. Anyway, you should see something consistent between JVisualVM and htop.