There is a big difference between Javas (required) memory allocation, and the systems require RAM load. The -Xmx:4G parameter tells Java how much memory to make available for java object creation, but does not in any way effect the memory requirements of OpenGL textures, sound assets controlled...