Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 47837 invoked from network); 31 Jul 2007 17:46:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jul 2007 17:46:09 -0000 Received: (qmail 81220 invoked by uid 500); 31 Jul 2007 17:45:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 81190 invoked by uid 500); 31 Jul 2007 17:45:57 -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 81179 invoked by uid 99); 31 Jul 2007 17:45:57 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 10:45:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [88.198.191.179] (HELO zoe.2sheds.de) (88.198.191.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 17:45:50 +0000 Received: from [10.51.2.83] (h-213.61.105.92.host.de.colt.net [213.61.105.92]) by zoe.2sheds.de (Postfix) with ESMTP id 8607855AA1 for ; Tue, 31 Jul 2007 19:45:28 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <014b01c7d399$c77be0f0$5673a2d0$@info> References: <014b01c7d399$c77be0f0$5673a2d0$@info> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5E4F67FB-B397-458D-878D-A4A03BE9375A@2sheds.de> Content-Transfer-Encoding: 7bit From: Andrew Miehs Subject: Re: Recovery from OutOfMemoryError? Date: Tue, 31 Jul 2007 19:45:47 +0200 To: "Tomcat Users List" X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org On 31/07/2007, at 7:39 PM, Marco wrote: > Dear Craig, > > You are familiar with, even with enough systemmemory, JVM uses limited > memory? > I your application consumes much memory, you could change settings > in the > tomcat6.conf file: > > #JAVA_OPTS="-Xminf0.1 -Xmaxf0.3" > JAVA_OPTS="-Xmx1024M -Xms512M" mx and ms should be the same for a server application. And as mentioned by someone earlier, you will probably want to increase MaxPermSize as well. -Xmx1500m -Xms1500m -XX:MaxPermSize=256m Cheers Andrew --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org