I use glDeleteTextures() and glTexImage2D() functions to improve my own texture management, if texture doesn't appears in screen I delete it and when appears an again I upload it from my texture copy in system memory.
In this form openGL -should- have the texture in video memory, because the video memory aren't full.
But don't worry that ain't the problem I test this and works fine in C++.
I only want I know is: how can I release the BufferedImage in java at the moment?
image = null;
System.gc();
this doesn't work, and I have too many memory leaks.
Thanks in advance.