Rectangle 27 0

java Does the JVM force garbage collection when it reaches its Xmx limit?


The Xmx parameter does only specify the size of the heap. The Java process takes more memory since the heap is only one part of the Java process, I guess you also have other stuff that the java process contains like native libraries, the perm gen and also native memory allocations made by the application.

Note