Re: Un-managed Memory Usage
Posted by
gouessej on
Nov 17, 2015; 11:07pm
URL: https://forum.jogamp.org/Un-managed-Memory-Usage-tp4035789p4035800.html
I have found nothing that explicitly releases the native memory.
You mustn't cache GL instances. You can store them in local variables with a very limited scope but do nothing that would lead to store them globally. They can become invalid at any time between 2 display attempts.