tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
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?
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" <>
To: "Tomcat Users List" <>
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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message