Login  Register

Re: Connection between -Xmx and GL_OUT_OF_MEMORY?

Posted by Wade Walker on Mar 28, 2012; 1:43pm
URL: https://forum.jogamp.org/Connection-between-Xmx-and-GL-OUT-OF-MEMORY-tp3864149p3864525.html

When you call glTexImage3D(), even if the texture will eventually be allocated in video memory on your graphics card, the GL driver is still free to allocate host memory for its own internal use (either temporarily or permanently). If your -Xmx is set too high, the Java VM could simply be taking up so much host memory that the GL driver doesn't have enough left.