Login  Register

Re: How to delete direct Buffers?

Posted by Vasilij on Nov 27, 2014; 2:16pm
URL: https://forum.jogamp.org/How-to-delete-direct-Buffers-tp4033631p4033651.html

I use RasPi with Oracle JDK 1.8.0, so i don't need Dalvik VM.

I have found, how JME deletes Buffers in
https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-core/src/main/java/com/jme3/util/BufferUtils.java#L1307

and i follow your answer in http://stackoverflow.com/a/26777380

But its seems like the DirectBuffers would not clear all the time. The native heap grows slowly...