You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ca...@stj.gov.br on 2003/04/15 16:51:10 UTC

Full GC freezes Tomcat




Hi!

We recently upgraded a one processor, 256 Mbytes RAM machine, to a 2
processors, 1 Gbytes RAM machine.

The old machine was nicely running Tomcat 4.1.12 with j2sdk-1.4.0 (Xms48M
and Xmx128M), and the new one is running Tomcat 4.1.18 with j2sdk-1.4.1_01
(Xms512M and Xmx512M).

With the new configuration, memory consumption keeps growing (some GCs and
Full GCs are performed, releasing some memory) until it reaches the total
available memory, when even Full GC can´t release enough memory and the
Tomcat server stops responding.

What can be wrong? Should we use jdsdk_3 in order to be able to use the XX
parameters?

Thanks in Advance,
Carlos Zottmann.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Full GC freezes Tomcat

Posted by Vic Cekvenich <vc...@basebeans.com>.
Try using one of the many non Sun VM. (BEA, Orcale and IBM do).

You will have much luck with this, it's free:
http://commerce.bea.com/showallversions.jsp?family=WLJR
Note how you can monitor the GC remotely and a nice paper on GC.

.V

carlos.zottmann@stj.gov.br wrote:
> 
> 
> 
> Hi!
> 
> We recently upgraded a one processor, 256 Mbytes RAM machine, to a 2
> processors, 1 Gbytes RAM machine.
> 
> The old machine was nicely running Tomcat 4.1.12 with j2sdk-1.4.0 (Xms48M
> and Xmx128M), and the new one is running Tomcat 4.1.18 with j2sdk-1.4.1_01
> (Xms512M and Xmx512M).
> 
> With the new configuration, memory consumption keeps growing (some GCs and
> Full GCs are performed, releasing some memory) until it reaches the total
> available memory, when even Full GC can´t release enough memory and the
> Tomcat server stops responding.
> 
> What can be wrong? Should we use jdsdk_3 in order to be able to use the XX
> parameters?
> 
> Thanks in Advance,
> Carlos Zottmann.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org