Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 39197 invoked from network); 22 Jun 2010 19:56:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Jun 2010 19:56:20 -0000 Received: (qmail 58914 invoked by uid 500); 22 Jun 2010 19:56:16 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 58856 invoked by uid 500); 22 Jun 2010 19:56:16 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 58847 invoked by uid 99); 22 Jun 2010 19:56:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jun 2010 19:56:16 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [216.82.249.131] (HELO mail28.messagelabs.com) (216.82.249.131) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jun 2010 19:56:07 +0000 X-VirusChecked: Checked X-Env-Sender: Chuck.Caldarale@unisys.com X-Msg-Ref: server-2.tower-28.messagelabs.com!1277236513!43939693!42 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [192.61.61.105] Received: (qmail 4180 invoked from network); 22 Jun 2010 19:55:45 -0000 Received: from naedge.unisys.com (HELO USEA-NAEDGE2.unisys.com) (192.61.61.105) by server-2.tower-28.messagelabs.com with RC4-SHA encrypted SMTP; 22 Jun 2010 19:55:45 -0000 Received: from usea-nahubcas2.na.uis.unisys.com (129.224.76.115) by USEA-NAEDGE2.unisys.com (192.61.61.105) with Microsoft SMTP Server (TLS) id 8.1.393.1; Tue, 22 Jun 2010 14:55:34 -0500 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.42]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Tue, 22 Jun 2010 14:55:35 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Tue, 22 Jun 2010 14:55:32 -0500 Subject: RE: Showing Tomcat Memory Utilization with 'top' Thread-Topic: Showing Tomcat Memory Utilization with 'top' Thread-Index: AcsSJfTNF6bUfRh1TFq+2hV59W5qPgAAJV5gAACWX5AAAH8VEAADwIJwAAFWnuAAAQPWcAAAN20g Message-ID: <99C8B2929B39C24493377AC7A121E21F98FB331888@USEA-EXCH8.na.uis.unisys.com> References: <768FEA3F936926468F594E3CA7741FE80239B8B4@ipa-vault.nvipa.com> In-Reply-To: <768FEA3F936926468F594E3CA7741FE80239B8B4@ipa-vault.nvipa.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 > From: Robinson, Eric [mailto:eric.robinson@psmnv.com] > Subject: RE: Showing Tomcat Memory Utilization with 'top' >=20 > For example, I have a tomcat configured to use 96MB of heap (export > JAVA_OPTS=3D"-ms96M -mx96M"). Top shows VIRT=3D336396, RES=3D227264. I'm > guessing that the 96MB of heap is buried in BOTH the VIRT and RES > numbers? Since -Xms =3D=3D -Xmx, that is normally true. However, the JVM may not ha= ve actually used all the allocated heap space, since the heap is internally= divided into several regions (eg, eden, survivor, tenured), and some of th= ese are further subdivided (TLAB). If a page in the heap hasn't been touch= ed (not unusual for some TLAB areas), it will appear in VIRT but not in RES= . - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL 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 atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org