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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to