tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Question using JProfiler with Tomcat
Date Tue, 02 Dec 2003 17:33:55 GMT

Never use a profiler for absolute values such as how much memory an
object takes or how much time it takes to do a certain operation.  The
time and memory are severely (often orders of magnitude) skewed by the
profiler.  Instead, use relative values as appropriate (e.g. 30% of the
time is spent in this method, rather than 30ms to do the method, or this
last change provided a 10% improvement in memory usage rather than a
10MB reduction).

What are Mo of memory?  MB and a typo I guess?

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Laurent Michenaud []
>Sent: Tuesday, December 02, 2003 12:32 PM
>Subject: Question using JProfiler with Tomcat
>I'm using Jprofiler to monitor my web application running on Tomcat.
>My Webapp uses XML/XSLTC to generate the html page.
>Looking at the JVM, I was horrified to see that some pages are using
>more than 30 Mo of memory.
>So, I've added another webapp that shows the JVM ( graphic in a applet
>This applet shows differents values from Jprofiler about memory
>The used memory is not so much.
>I think it is due to the fact that Jprofiler creates a lot of objects
>inspect the JVM.
>So my conclusion is :
>Don't use Jprofiler to see our much memory your web application use !
>divide the obtained
>values by 3 or 4.
>What's your opinion about that ?

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message