I’m migrating my code to use the JSR-231 release, and would really like to use the new Texture classes. Only I have considerable worries about the re-use of java.nio buffers. From what I’ve read JVMs (or some JVMs) are not good at freeing memory allocated in unused buffers.
So is it feasible to use the new Texture classes if one’s application is continually loading large textures? Or after loading 100 such textures will one’s Java process just hit out of memory conditions?