> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Subject: memory usage of specific webapp with jmx
> 
> I hope that I can also see the size of the web application
> without writing Java code.

Nope, and probably not even by writing Java code.

> I think so because web application classes are loaded with
> WebClassLoader so the WebClassLoader can count memory size
> per application.

No, because the predominant use of memory is objects allocated on the
Java heap, which is shared by everything running in that JVM, regardless
of what loaded it.

You can remove all applications other than the one of interest, put a
load on it with whatever testing tools you use, and watch the effect on
the heap.  You could also use a profiler to see where objects are being
created, and try to tie that back to specific applications.

 - 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