1.

What Does -xmx And -xms Parameters Mean?

Answer»

These are parameters to specify heap SIZE in Java. The -XMS defines the size of the heap when JVM starts up and -XMX is USED to specify the MAXIMUM heap size for Java application i.e. your heap cannot grow beyond that and JVM will die by throwing OutOfMemoryError if your heap doesn't have enough space to create new objects. See here to learn more about heap memory in Java.

These are parameters to specify heap size in Java. The -Xms defines the size of the heap when JVM starts up and -Xmx is used to specify the maximum heap size for Java application i.e. your heap cannot grow beyond that and JVM will die by throwing OutOfMemoryError if your heap doesn't have enough space to create new objects. See here to learn more about heap memory in Java.



Discussion

No Comment Found