tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Miehs <and...@2sheds.de>
Subject Re: Tomcat Out Of Memory
Date Wed, 15 Nov 2006 12:38:02 GMT
-----BEGIN PGP SIGNED MESSAGE-----
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.


Regards

Andrew




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 <Chuck.Caldarale@unisys.com> wrote:
>>>
>>> > From: ohashi@infinico.co.jp [mailto:ohashi@infinico.co.jp]
>>> > 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?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFWworW126qUNSzvURAqsyAJ4hFkVoVk5fVL9Pxl6K97cRcs1yZwCfbz+N
Uz3mssqyZM/75TSvVqU7Uak=
=75sK
-----END PGP SIGNATURE-----

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


Mime
View raw message