> From: Frank Misa [mailto:[EMAIL PROTECTED] 
> Subject: Checking Memory Usage Of WebApps within a Tomcat instance
> 
> Does Tomcat provide tooling/API to allow checking/monitoring 
> of how much memory usage each webapp deployed within a Tomcat
> instance is using?

Not directly (nor does any other web or app server).  There's one heap
per JVM, and all webapps allocate out of it.  If you have some unique
objects in each webapp, a profiler can easily show you those, but
there's no way to differentiate who allocated common objects other than
by looking at the walkback stack at the time of each allocation.
Collecting such information can be expensive, since you may have to
record quite some depth in order to get back to the significant webapp
entry.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to