Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 50274 invoked from network); 5 Dec 2007 22:47:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2007 22:47:51 -0000 Received: (qmail 24084 invoked by uid 500); 5 Dec 2007 22:47:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 23123 invoked by uid 500); 5 Dec 2007 22:47:26 -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 23112 invoked by uid 99); 5 Dec 2007 22:47:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 14:47:26 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ruixian.bao@gmail.com designates 209.85.132.243 as permitted sender) Received: from [209.85.132.243] (HELO an-out-0708.google.com) (209.85.132.243) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 22:47:06 +0000 Received: by an-out-0708.google.com with SMTP id b2so1204501ana for ; Wed, 05 Dec 2007 14:47:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=diGIi0Mqab84fho2O68gnxZDkCdfC4YDyFrUfDYQU5M=; b=YOOE4Bpsw8O1EQ59Z6265dBk7PWpgn0Ktj/G2oTwjAWS078ZpWt4eMeBsbormj3/FCMghtwzBW3hzi2cKce/8O5T154bjeZrYxBS5+q51/lSONldH9s2BJmgNLuP4QPIuMLkuKHf72jIuN1Hwlm8UrM79KRTPMLdgrGxTEeuo2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Cooz5D242CSF3eE1t6vaRFN4kWiV3eheTfwtbQCsASIfnGyurUve6kO+En/ajdzSjTvY7ZVEI4c7TYMmAv3yid517kUlXx56U+RSYPyxIeUH1UNT9L5UwVuH+pOA2QbHG9eFkP3BcMgD4NQtPVU+NDo+iOl5i1TaikwlMGGp7XM= Received: by 10.100.106.1 with SMTP id e1mr5292188anc.1196894828218; Wed, 05 Dec 2007 14:47:08 -0800 (PST) Received: by 10.100.48.2 with HTTP; Wed, 5 Dec 2007 14:47:08 -0800 (PST) Message-ID: <3943bbf70712051447s26f00f1va7734820a2430cd0@mail.gmail.com> Date: Thu, 6 Dec 2007 00:47:08 +0200 From: "RuiXian BAO" To: "Tomcat Users List" Subject: Re: tomcat.conf JAVA_OPTS In-Reply-To: <47566391.3030801@kippdata.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1756_14832394.1196894828203" References: <4a2899d0712040841madf2d8kec8e2f41aa49c6f0@mail.gmail.com> <47559DBF.1090007@kippdata.de> <2828B04F0113CD468E6D1D51DF4362A404216DFF@USEA-EXCH2.na.uis.unisys.com> <47566391.3030801@kippdata.de> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_1756_14832394.1196894828203 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, On 12/5/07, Rainer Jung wrote: > > Caldarale, Charles R wrote: > >> From: Rainer Jung [mailto:rainer.jung@kippdata.de] > >> Subject: Re: tomcat.conf JAVA_OPTS > >> > > I'd recommend not setting these unless you really know what's going on > > inside your heap. It's usually more beneficial to set -Xms to the same > > value as -Xmx. > > Me to :) This has amused me for a long time. If so, why the -Xms and -Xmx were invented in the first place? Or to make things simpler why not using a single memory variable just in this situation? Just to cause more confusion to have two values like current arrangement?:) Best - RuiXian >>> Also, is there a way to start tomcat and have it > >>> spit out what JAVA_OPTS it's using? > > > > Some of the options are processed by the launcher, some by the JVM > > proper, so there's not any really good way to see them all. You can set > > the environment variable _JAVA_LAUNCHER_DEBUG, and it will provide some > > information about what the launcher is doing and what it's passing on to > > the JVM. > > > > ------=_Part_1756_14832394.1196894828203--