Login  Register

Re: How to load many textures without leaking memory?

Posted by Phate666 on Jun 19, 2012; 11:14am
URL: https://forum.jogamp.org/How-to-load-many-textures-without-leaking-memory-tp4025245p4025247.html

I actually just found a solution, I just had to add a manually System.gc() call after each texture.destroy(gl), then the native memory stays low.
Not sure if this behaviour is intended, but it works.