> From: zirconx [mailto:r...@stillnet.org]
> Subject: How to tell how much memory each web application is using?
> 
> I'd like to see how much memory each of these
> applications is using.  Is that possible?

Not easily.  There's just the one heap for the JVM, and it's shared by all 
webapps and Tomcat internal operations.  In theory, you could use jhat to go 
through a heap dump and find out all the objects that are reachable from 
another object, but it would be quite tedious.

The easier approach is to deploy only one application, run whatever test you 
want, then measure heap usage.  Repeat for each webapp.  Also measure the usage 
with no apps (or just the manager) to get a baseline.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to