Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

OutOfMemoryError after 5.0.24 update

Stefan Proels

2004-05-10

Replies:

Dear all,

after updating our server to Tomcat 5.0.24 last night I got 2 crashes with
the last words

Exception in thread "CompilerThread1" java.lang.OutOfMemoryError:
requested 32760 bytes for ChunkPool::allocate. Out of swap space?

from Tomcat. Now the interesting is that according to our GC logs Java did
not really run out of memory. Also I checked the system's state some
minutes before the last crash and I remember the java process having
allocated about 270 MB and as I set -Xmx1024m this also makes be believe
that it did not really run of the memory. The pointer to the swap space
also doesn't seem to lead into the right direction since the machine has
4 GB physical memory and another 4 GB swap space and nearly no swap space
is actually in use.

So my question is, is there any new configuration parameter I my have
overlooked since 5.0.19 or has the default value of some related
parameter changed which could cause this error?

What makes the problem even more mysterious is the fact that both
exceptions occurred in "CompilerThread1" but since all our JSPs have been
compiled already and none of them has changed, I wonder why this thread
had anything to do at all.


Best regards,
Stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.