tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Campbell <pcs...@gmail.com>
Subject Re: Tomcat memory settings
Date Mon, 11 Jan 2010 19:41:42 GMT
http://www.theserverside.com/news/thread.tss?thread_id=48390


http://wiki.apache.org/tomcat/FAQ/Memory

Try googling

On 01/11/2010 11:29 AM, Leo Donahue - PLANDEVX wrote:
> Tomcat 6.0.20 zip (used service command to run as windows service)
> Window 2003 Server 2.0GB RAM (1.3GB available)
>
> My problem:
>
> org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet "servlet name" threw exception
> java.lang.OutOfMemoryError: Java heap space
>
> I've read many previous posts and online articles about increasing the memory settings
for Tomcat.  As it stands, I've modified the catalina.bat file and set the CATALINA_OPTS variable
from what was nothing to the following:
>
> :doStop
> shift
> set ACTION=stop
> set CATALINA_OPTS=-Xms256m -Xmx512m
> goto execCmd
>
>
> I have restarted Tomcat.
>
> 1.  Was that the right way to increase the memory for Tomcat 6.0.20?
> 2.  Do I monitor the log files to see if this setting was enough?  I realize there could
be many other things related to heap space errors.
>
>
> Leo Donahue
>
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message