Re: Help: Tomcat crashes on java.lang.OutOfMemoryError
- From: darrell@xxxxxxxxxxxxxxxxxx (".")
- Date: 1 Jun 2005 19:54:38 GMT
On Tue, 31 May 2005, Cathy Hui wrote:
> 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)
Try profiling it. JProbe from Quest Software has a profiler, memory
debugger and coverage tool. It integrates with Tomcat 4.x. You can get a
trial version at http://www.quest.com/jprobe/try.asp
> 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!
>
>
--
Send e-mail to: darrell dot grainger at utoronto dot ca
.
- Prev by Date: Re: Test
- Next by Date: Re: finally block does not complete normally - Eclipse
- Previous by thread: Re: Help: Tomcat crashes on java.lang.OutOfMemoryError
- Next by thread: Re: Help: Tomcat crashes on java.lang.OutOfMemoryError
- Index(es):
Relevant Pages
|
|