When starting the JVM, two parameters
can be adjusted to suit your memory needs :
-mx n Sets the maximum size of the memory allocation pool where n is in bytes,
appending "m" to n will specified the number in megabytes, for example to set the maximum at 20Mb :
java -mx 20m myApp
With JDK1.2, that syntax have changed, no space between ms/mx and the value :
java -mx20m myApp
Written and compiled by Réal Gagnon ©1998-2005
[ home ]