tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "NanFei Wang" <>
Subject Re: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '
Date Tue, 15 Nov 2005 05:32:57 GMT
Dear Chuck,
My Java tab contains
-Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 5.5
-Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 
5.5\common\endorsed\Program Files\Apache Software Foundation\Tomcat 5.5\temp

I add  -DJAVA_OPTS=-Xmx256M  in another line at the Java Options text area,
But I still get the message as
javax.servlet.ServletException: Java heap space
java.lang.OutOfMemoryError: Java heap space

Would you please show me the right way !



----- Original Message ----- 
From: "Caldarale, Charles R" <>
To: "Tomcat Users List" <>
Sent: Tuesday, November 15, 2005 12:28 PM
Subject: RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

> From: NanFei Wang []
> Subject: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '
> However, for Tomcat/5.5.9, It start by Service automatically
> without a file of startup.bat.

The .exe download does not include the scripts, for no discernable
reason.  However, the scripts are included in the .zip and .tar
downloads, should you want to use them.

If you're running Tomcat as a service, use tomcat5w.exe from the bin
directory to set the various JVM options.  The Java tab contains
specific spots for heap size parameters; others must be entered in the
Java Options text area.

 - Chuck

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message