Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 180CD7DFE for ; Fri, 9 Dec 2011 15:30:11 +0000 (UTC) Received: (qmail 14582 invoked by uid 500); 9 Dec 2011 15:30:07 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 14524 invoked by uid 500); 9 Dec 2011 15:30:07 -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 14515 invoked by uid 99); 9 Dec 2011 15:30:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 15:30:07 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.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.241.83] (HELO mail37.messagelabs.com) (216.82.241.83) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 15:30:00 +0000 X-Env-Sender: Chuck.Caldarale@unisys.com X-Msg-Ref: server-3.tower-37.messagelabs.com!1323444574!3838349!24 X-Originating-IP: [192.61.61.104] X-StarScan-Version: 6.4.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 30553 invoked from network); 9 Dec 2011 15:29:38 -0000 Received: from unknown (HELO USEA-NAEDGE1.unisys.com) (192.61.61.104) by server-3.tower-37.messagelabs.com with RC4-SHA encrypted SMTP; 9 Dec 2011 15:29:38 -0000 Received: from usea-nahubcas2.na.uis.unisys.com (129.224.76.115) by USEA-NAEDGE1.unisys.com (192.61.61.104) with Microsoft SMTP Server (TLS) id 8.3.83.0; Fri, 9 Dec 2011 09:29:36 -0600 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.41]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Fri, 9 Dec 2011 09:29:16 -0600 From: "Caldarale, Charles R" To: Tomcat Users List Date: Fri, 9 Dec 2011 09:29:12 -0600 Subject: RE: Tomcat memory allocation Thread-Topic: Tomcat memory allocation Thread-Index: AQMCV6hfrx4ZE7p7qOtflerRcj9j2AFyojTiAc1vIfAB7MlP0ZM+8ZVwgAADmOA= Message-ID: <99C8B2929B39C24493377AC7A121E21FB00C0344FA@USEA-EXCH8.na.uis.unisys.com> References: <004201ccb680$0cc5f1f0$2651d5d0$@dsl.pipex.com> <99C8B2929B39C24493377AC7A121E21FB00C0343FE@USEA-EXCH8.na.uis.unisys.com> <004e01ccb682$291f90c0$7b5eb240$@dsl.pipex.com> <99C8B2929B39C24493377AC7A121E21FB00C034460@USEA-EXCH8.na.uis.unisys.com> <005201ccb685$24fb3410$6ef19c30$@dsl.pipex.com> In-Reply-To: <005201ccb685$24fb3410$6ef19c30$@dsl.pipex.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: Martin O'Shea [mailto:appy74@dsl.pipex.com]=20 > Subject: RE: Tomcat memory allocation > But if I change the settings in catalina.bat to: Don't make changes to catalina.bat; create a setenv.bat to hold all your lo= cal settings. > set CATALINA_OPTS=3D%CATALINA_OPTS% -Xms128m -Xmx768m -XX:MaxPermSize=3D1= 28m > In Tomcat Manager I see: Use a real JVM analysis tool (e.g., JConsole, VisualVM), not the manager we= bapp. > Free memory: 97.90 MB Total memory: 122.68 MB Max memory: 227.56 MB > Shouldn't total or max memory have a higher reading? No, since the heap size is sliding around between Xms and Xmx. You might want to take a look at the papers here: http://www.oracle.com/technetwork/java/javase/tech/index-jsp-140228.html Especially interesting are the ergonomics and tuning ones. - 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