tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Checking Memory Usage Of WebApps within a Tomcat instance
Date Thu, 28 Jun 2007 17:30:09 GMT
> From: Frank Misa [mailto:frankmisa@hotmail.com] 
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message