e.g. set MaxHeap to 512MB

For all Java Processes
[unix]export JVM_OPTS ="-Xmx512M"
[windows] SET JVM_OPTS="-Xmx256m"

For Tomcat only
[unix] export TOMCAT_OPTS=3D"-DXmx=3D512m"
[Windows] set TOMCAT_OPTS=3D"-DXmx=3D512m"

Does this help?
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "Aurélien Allienne" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Saturday, May 19, 2007 1:09 PM
Subject: Re: javax.servlet.ServletException: Java heap space


Thank, but tomcat use 64Mb by default. I can do change this parameter?



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to