tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: tomcat uses more and more memory
Date Wed, 01 Oct 2003 13:44:11 GMT

Howdy,

>I've been running Tomcat on Linux and have noticed that it always
>consumes more memory and never releases it. I have used the manager
>application to stop applications and watched the memory usage in top,
>but it has only increased.

I assume you already know some top versions on linux display JVM memory
usage as if it's per thread, while it's really the total.  

>I'm fairly certain that it's NOT tomcat, but one of these components
>(or my own stuff). My question is, which is the most likely candidate
>for not allowing the java garbage collector to do its thing? I'm

Any component can be as likely.  This is where you use a profiler.

>How can I monitor garbage collection?

Add -verbose:gc to your JAVA_OPTS or use a profiler, or even a JVM with
monitoring built in like J:Rockit.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


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


Mime
View raw message