When starting the JVM, two parameters can be adjusted to suit your memory needs :
-Xms<size> specifies the initial Java heap size and
-Xmx<size> the maximum Java heap size.
To set the minimum at 64Mb and the maximum at 256Mb
java -Xms64m -Xmx256m ...
The default value for the minimum is 2Mb, for the maximum it's 64Mb.
Written and compiled by Réal Gagnon ©1998-2013
[ home ]