tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re[2]: OutofMemoryError
Date Wed, 01 May 2002 18:52:13 GMT
Hello Laurent,


Enable the incremental garbage collector. The incremental garbage collector, which is off
by default, will eliminate occasional garbage-collection pauses during program execution.
However, it can lead to a roughly 10% decrease in overall GC performance


If you can live with a 10% decrease in overall garbage collection
performance, then yeah, I guess use incremental garbage collection.


Wednesday, May 01, 2002, 12:35:37 PM, you wrote:

LFP> Hi Matthew,

LFP> I have been experiencing the same problems but with T3.2.x.

LFP> You should try to use Tomcat options -Xms and -Xmx

LFP> I added those 2 lines:

LFP> TOMCAT_OPTS="-server -Xms256m -Xmx256m -Xincgc"

LFP> in my /etc/init.d/tomcat script 

LFP> This increase the default heap size of the JVM to 256Meg (from 64Meg)
LFP> and make sure incremental Garbage collection is done. Since I changed
LFP> those, I have no more OutOfMemory errors.

LFP> Hope it helps,
LFP> Laurent

LFP> -----Original Message-----
LFP> From: Matthew Boeckman [] 
LFP> Sent: May 1, 2002 12:08 PM
LFP> To:
LFP> Subject: OutofMemoryError

LFP> Hello List.

LFP> I'm running tomcat 3.1.1 on RH7.1, kernel 2.4.9-31 with JDK1.3.1, mysql 
LFP> 3.23.43
LFP> I am occasionally seeing tomcat go postal with the following errors:
LFP> Exception in thread "CompileThread0" java.lang.OutOfMemoryError: 
LFP> requested 32760 bytes

LFP> ****************
LFP> Another exception has been detected while we were handling last error.
LFP> No information available. Please check ERROR REPORT FILE for further
LFP> information, if there is any. Good bye.

LFP> An unexpected exception has been detected in native code outside the VM.
LFP> Unexpected Signal : 11 occurred at PC=0x419852cb Function name=(N/A)
LFP> Library=(N/A)

LFP> NOTE: We are unable to locate the function name symbol for the error
LFP>        just occurred. Please refer to release documentation for possible
LFP>        reason and solutions.

LFP> Current Java thread:

LFP> ****************
LFP> Another exception has been detected while we were handling last error.
LFP> Dumping information about last error: ERROR REPORT FILE = (N/A)
LFP> PC                = 0x0x419852cb
LFP> SIGNAL            = 11
LFP> Please check ERROR REPORT FILE for further information, if there is any.
LFP> Good bye.

LFP> Any thoughts on what might be the cause? There is nothing in the log 
LFP> files to tell me more than this, which gets dumped to the console.

LFP> -Thanks!

Best regards,

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message