Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 76484 invoked from network); 2 Dec 2003 17:36:09 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Dec 2003 17:36:09 -0000 Received: (qmail 21028 invoked by uid 500); 2 Dec 2003 17:35:32 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 21010 invoked by uid 500); 2 Dec 2003 17:35:32 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 20977 invoked from network); 2 Dec 2003 17:35:32 -0000 Received: from unknown (HELO warhawk.mpi.com) (63.244.250.133) by daedalus.apache.org with SMTP; 2 Dec 2003 17:35:32 -0000 Received: from lightning.mpi.com (lightning.mpi.com [63.244.252.11]) by warhawk.mpi.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id hB2HX8E00405 for ; Tue, 2 Dec 2003 12:33:08 -0500 (EST) Received: from US-VS1.corp.mpi.com (us-be1.corp.mpi.com [63.244.252.30]) by lightning.mpi.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id hB2HYtFv018913 for ; Tue, 2 Dec 2003 12:35:29 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Question using JProfiler with Tomcat Date: Tue, 2 Dec 2003 12:33:55 -0500 Message-ID: <9C5166762F311146951505C6790A9CF8013DF794@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Question using JProfiler with Tomcat Thread-Index: AcO4+iuKXKOHVG0gQH+dY+u5BO1ZjgAAARCQ From: "Shapira, Yoav" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Howdy, 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 th= e time is spent in this method, rather than 30ms to do the method, or th= is 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 [mailto:lmichenaud@adeuza.fr] >Sent: Tuesday, December 02, 2003 12:32 PM >To: tomcat-user@jakarta.apache.org >Subject: Question using JProfiler with Tomcat > >Hi, > >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 apple= t >). > >This applet shows differents values from Jprofiler about memory >consumption. >The used memory is not so much. > >I think it is due to the fact that Jprofiler creates a lot of objects= to >inspect the JVM. > >So my conclusion is : >Don't use Jprofiler to see our much memory your web application use != Or >divide the obtained >values by 3 or 4. > >What's your opinion about that ? > >Thanks > This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org