How to find java heap size

by rajesh 2007-11-20 14:27:44

Java heap size of a jvm can be set using -Xms & -Xmx while starting the JVM

-Xms sets initial heap size. The default heap size is 2097152 (2MB).

-Xmx sets the maximum size to which the Java heap can grow. When not specified, maximum heap size is 64M.

Tagged in:

1949
like
0
dislike
0
mail
flag

You must LOGIN to add comments