Help: Tomcat crashes on java.lang.OutOfMemoryError
- From: "Cathy Hui" <kaka.hui@xxxxxxxxx>
- Date: 31 May 2005 13:26:30 -0700
I am running an application (i.e. Remedy Midtier) on Tomcat. Currently
I run into the "java.lang.OutOfMemoryError" when performing some
activities from the browser when accessing this application.
Basically, the Tomcat crashes when the java process takes about 160MB -
190MB memory usage (I did monitor the "top" for system resources)
Background information:
OS: Solaris 8
System physical memory: 2048MB
Tomcat version: 4.1.29
JDK version: 1.4.1
/etc/system
set rlim_fd_cur = 65536
set rlim_fd_max = 65536
This is what I have tried so far:
1) Double the heap size in catalina.sh to allocate to java from
"-Xms256m -Xmx512m" to "-Xms512m -Xmx1024m"
2) install jdk 1.4.2
However, the result is: JAVA still fails after taking 160MB-190MB
memory and Tomcat crashes on java.lang.OutOfMemoryError.
Does anyone know what might be the cause of it and how to fix it?
Thanks!
.
- Follow-Ups:
- Re: Help: Tomcat crashes on java.lang.OutOfMemoryError
- From: Gerbrand van Dieijen
- Re: Help: Tomcat crashes on java.lang.OutOfMemoryError
- Prev by Date: Re: finally block does not complete normally - Eclipse
- Next by Date: Re: Help: Tomcat crashes on java.lang.OutOfMemoryError
- Previous by thread: finally block does not complete normally - Eclipse
- Next by thread: Re: Help: Tomcat crashes on java.lang.OutOfMemoryError
- Index(es):
Relevant Pages
|