tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Miehs <>
Subject Re: Tomcat Out Of Memory
Date Wed, 15 Nov 2006 12:38:02 GMT
Hash: SHA1

Which kernel are you running? If you are running 2.4 I could imagine  
that it could be an out of process/ thread limit.
Java used to report - out of memory - even for out of processes/ 
threads problems

I think 2.4 had a default limit of 256 Process/ threads.

ulimit -a will show you how high your process limits are set.



On 15/11/2006, at 11:14 AM, Santosh Puranshettiwar wrote:

> Gaurav Kushwaha wrote:
>> A quick fix would be to specify minimum and maximum heap size  
>> using JVM
>> parameters -Xms and -Xmx. -Xms specifies the minimum heap size and  
>> -Xmx is
>> used to determine the maximum allowed heap size.
>> So, lets say if you have enough memory to allocate 512 MB to your  
>> java
>> process you shoud write something like:
>> java -Xms512M -Xmx512M.
> Well in most cases the default heap size does good enough. In some  
> cases we may have to increase it. But in case this too doesn't  
> work, try profiling your code.
>> On 11/14/06, Caldarale, Charles R <> wrote:
>>> > From: []
>>> > Subject: Tomcat Out Of Memory
>>> >
>>> > We are running Tomcat 4.1.18 on RedHat ES3 using JDK 1.4.2_02.
>>> > What is causing the error message below and What can I do to  
>>> solve it?

Version: GnuPG v1.4.1 (Darwin)


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message