Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 11008 invoked from network); 19 Apr 2006 21:10:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Apr 2006 21:10:15 -0000 Received: (qmail 51167 invoked by uid 500); 19 Apr 2006 21:10:09 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 51109 invoked by uid 500); 19 Apr 2006 21:10:09 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 51098 invoked by uid 99); 19 Apr 2006 21:10:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 14:10:09 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of henri.gomez@gmail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO pproxy.gmail.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 14:10:08 -0700 Received: by pproxy.gmail.com with SMTP id i49so1200844pyi for ; Wed, 19 Apr 2006 14:09:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LIiENZxGdyyGZK2zdOmGuys3Wb979RAarU3o9beTz6XpSuy9uN54oao7V8LrSHSZ8bIabCTh8xG4Hvs0S1PphRYkt+0NST3tYn/gVaQwtqLwgErh+ENFq0svDYdjjX6amc9zPet6D2Qy4OWQsDizuoS6qPfDdnO4kAqWAGS3ZIs= Received: by 10.35.8.1 with SMTP id l1mr364959pyi; Wed, 19 Apr 2006 14:09:47 -0700 (PDT) Received: by 10.35.128.17 with HTTP; Wed, 19 Apr 2006 14:09:47 -0700 (PDT) Message-ID: <6291fc850604191409h3f294ed2p79beec73637d7930@mail.gmail.com> Date: Wed, 19 Apr 2006 23:09:47 +0200 From: "Henri Gomez" To: "Tomcat Developers List" Subject: Re: Memory usage Tomcat 3.3 vs 5.5 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N We're also using TC 3.3 on our production systems and are switching to TC 5= .5. The memory penalty is real but you'll be using up to date and actively maintained stuff with TC 5.5. Also you could try to reduce the AJP13 / HTTP 11 threads and remove some JMX Listeners 2006/4/19, Abhi Karmos : > > Hello all, > > Sorry, could not find an answer on tomcat-users. > > We run tomcat inside an embedded system and we are planning to upgrade th= e > tomcat version from 3.3.1 to 5.5.16. We noticed that the memory footprint= of > a barebones tomcat 5.5 installation is 44 MB. Plain and simple Tomcat 3.3 > used to run with 25 MB. We have limited memory on our system and the memo= ry > usage of tomcat 5.5 is a concern for us. > > The numbers above are the resident set size (RSS) on a linux system. When= we > took the above numbers, both the tomcats had the same heap setting (min: > 25 - max: 30 mb). > > When we run our webapps, which add another 20 jars in the classpath, the > steady state memory usage is 50 MB with Tomcat 3.3 and 66 MB with Tomcat > 5.5. > > Has anyone else solved a similar problem before ? Can I try and tweak tom= cat > 5.5 to run in less memory ? Our server.xml is the minimal configuration > possible. > > Regards, > Abhi. > > OS: Linux / RedHat 7.3 > JVM: IBM 1.4.2 > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org