barafael
barafael
Why does Linux allocate so much virtual memory for Java compared to the heap size?
The JVM preallocates memory to manage it itself. This is one reason why naive Java programs are sometimes faster than naive C programs. You can configure the JVM heap size at startup
3 replies