Login  Register

Un-managed Memory Usage

Posted by Art B on Nov 16, 2015; 6:14pm
URL: https://forum.jogamp.org/Un-managed-Memory-Usage-tp4035789.html

Hopefully someone can give me a little insight on this.

I have a JOGL application that appears to be leaking system memory.  I can run the application and see that it uses less than 1 GB as reported by YourKit Java Profiler.  This includes heap and non heap memory.  You can see that garbage collections are happening normally.  Number of loaded classes also stays consistent.  

The problem is that Windows will eventually run out of memory.  You can see the Java process continue to use memory until the entire system freezes up (I've manage to use all 32 GB of system memory.)  I can also completely shut down and dispose the "scene" and related GL animator and the memory is then freed up.  

Unfortunately this is a very large and complex application.  I am also unable to share any source code (except for the support library that I built which is open source https://github.com/pnnl/svf .)