tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: javax.servlet.ServletException: Java heap space
Date Sat, 19 May 2007 18:46:52 GMT
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" <allienna@gmail.com>
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message