Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 48107 invoked from network); 19 May 2006 14:21:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 May 2006 14:21:28 -0000 Received: (qmail 23356 invoked by uid 500); 19 May 2006 14:21:07 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23171 invoked by uid 500); 19 May 2006 14:21:06 -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 23125 invoked by uid 99); 19 May 2006 14:21:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 May 2006 07:21:05 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [132.230.2.212] (HELO mailgateway2.uni-freiburg.de) (132.230.2.212) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 May 2006 07:21:02 -0700 Delivery-date: Fri, 19 May 2006 16:21:01 +0200 Received: from mail.ub.uni-freiburg.de ([132.230.2.94] helo=uni-freiburg.de) port 50063 by mailgateway2.uni-freiburg.de with esmtp (Exim 4.50 #1 built 16-Jan-2006 13:33:53 running on Gentoo) id 1Fh5qK-00025V-22 for users@tomcat.apache.org; Fri, 19 May 2006 16:20:40 +0200 Received: from [132.230.25.122] (account franck.borel@mail.ub.uni-freiburg.de [132.230.25.122] verified) by uni-freiburg.de (CommuniGate Pro SMTP 5.0.8) with ESMTPSA id 70952068 for users@tomcat.apache.org; Fri, 19 May 2006 16:20:41 +0200 Message-ID: <446DD437.4020000@ub.uni-freiburg.de> Date: Fri, 19 May 2006 16:20:39 +0200 From: Franck Borel User-Agent: Thunderbird 1.5.0.2 (X11/20060420) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: settingheap sizes for JVM in tomcat References: <20060519122216.47657.qmail@web51501.mail.yahoo.com> In-Reply-To: <20060519122216.47657.qmail@web51501.mail.yahoo.com> Content-Type: multipart/mixed; boundary="------------060901070109050909040903" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --------------060901070109050909040903 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit > Is there any criteria/way to determine the suitable heap sizes ( -Xms nad -Xmx ) for JVM in tomcat ?? > Add folling line in your catalina.sh CATALINA_OPTS=-Xms512 -Xmx1024 or JAVA_OPTS=-Xms512 -Xmx1024 Normally the JVM allocates an initial size of 512 MB (Java 1.5). If you need more then this amount of memory you can set the minimum size at 512 and the maximum at 1024. This should be enough for most applications running on tomcat. To set the maximum size of memory is allways a good idea. -- Franck > > Thanks in advance > Siddesh > > > > > --------------------------------- > Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2�/min or less. > -- ==================================================================== Dipl.-Hyd. Franck Borel Universitaetsbibliothek Freiburg EMail: borel@ub.uni-freiburg.de EDV-Dezernat Tel. : +49-761 / 203-3908 Werthmannplatz 2 | Postfach 1629 Fax : +49-761 / 203-3987 79098 Freiburg | 79016 Freiburg --------------060901070109050909040903 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------060901070109050909040903--