Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 68726 invoked from network); 12 Feb 2003 18:01:32 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 12 Feb 2003 18:01:32 -0000 Received: (qmail 16415 invoked by uid 97); 12 Feb 2003 18:03:05 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 16408 invoked from network); 12 Feb 2003 18:03:05 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 12 Feb 2003 18:03:05 -0000 Received: (qmail 67085 invoked by uid 500); 12 Feb 2003 18:01:12 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 67069 invoked from network); 12 Feb 2003 18:01:11 -0000 Received: from adsl-67-119-72-241.dsl.sntc01.pacbell.net (HELO BLACKCOMB.corp.mailfrontier.com) (67.119.72.241) by daedalus.apache.org with SMTP; 12 Feb 2003 18:01:11 -0000 Received: from Heavenly ([10.1.2.30]) by BLACKCOMB.corp.mailfrontier.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 12 Feb 2003 09:56:35 -0800 Message-ID: <054501c2d2c0$15320a70$1e02010a@corp.mailfrontier.com> Reply-To: "Billy Ng" From: "Billy Ng" To: "Tomcat Users List" References: <200302121737.MAA80632@h50.fbsims.com> Subject: Re: Memory issue with Tomcat/4.0.3 Date: Wed, 12 Feb 2003 09:56:34 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 x-mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 12 Feb 2003 17:56:35.0093 (UTC) FILETIME=[1531BC50:01C2D2C0] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Are you using Windows? It does not guarantee that the memory will release to the OS until the OS needs it. If you running a very big memory intensive process, you will see Tomcat releases the memory in the Task Manager. I highly recommend you to set the max and min heap sizes with the same number. Billy Ng ----- Original Message ----- From: Sent: Wednesday, February 12, 2003 9:37 AM Subject: Memory issue with Tomcat/4.0.3 > Hi all, > > I am experiencing some memory trouble when the > tomcat server is running. I have set the the > following java runtime options, -Xmx500m -Xms100m -Xingcg. > I know that these values are not the best to use. > Anyways, I'm keeping track of the freeMemory with the servlet > programs and its always reporting ~ 80-70 MB out of the inital 100, which is fine. > > My problem is when "top" or "free" report the amount of used memory. > It keeps growing and growing. It seems to me that the free memory from > the tomcat threads is not being released to the system. > > Is this a correct assumption? > > Can someone shed some light here, I'm all out of ideas!!! > > Thanks > Alain > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org