tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitor Buitoni <>
Subject Re: OutOfMemory exception explanation?
Date Tue, 27 Jan 2004 11:23:38 GMT
Supposing it's not some kind of memory leak in your application, you 
could try increasing the JVM's heap size passing the parameter -Xmx 256m
(256 or the size you like) to it.
By default, the JVM limits the heap size to 64M, so if your application 
needs more than 64M you will get an OutOfMemoryError. In this case, you 
must supply the JVM with a -Xmx argument.


D'Alessandro, Arthur wrote:

>We've been getting these every now and then:
>Jan 23, 2004 5:03:30 PM runIt
>SEVERE: Exception in acceptSocket
>Jan 23, 2004 5:03:30 PM
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
>SEVERE: Caught exception executing
>, terminating thread
>java.lang.IllegalStateException: Terminating thread
>        at
>        at
>        at
>Once this occurrs, I have to stop / start the entire Tomcat container in
>order to allow this particular webapp to function again.  It only
>effects a particular servlet mapping for a  given webapp.  Does anyone
>have any suggestions on how to resolve?  We're running version 4.1.24..
>Any leads would be great, thanks.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message