tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: Checking Memory Usage Of WebApps within a Tomcat instance
Date Thu, 28 Jun 2007 17:30:09 GMT
> From: Frank Misa [] 
> 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

 - Chuck

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message