Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 82716 invoked from network); 3 Oct 2005 13:49:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2005 13:49:08 -0000 Received: (qmail 67075 invoked by uid 500); 3 Oct 2005 13:48:54 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 67046 invoked by uid 500); 3 Oct 2005 13:48:54 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 67035 invoked by uid 99); 3 Oct 2005 13:48:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 06:48:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [142.176.14.230] (HELO hrmmail02.region.halifax.ns.ca) (142.176.14.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 06:48:59 -0700 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.4 Date: Mon, 03 Oct 2005 10:47:59 -0300 From: "Ritchie Gillam" To: Subject: RE: Why getting this error? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks, I will set the JAVA_OPTS variable. Is there a way to see what the = Size is now before I change it? Thanks, Ritchie Gillam Programmer Analyst, Information Services, Halifax Regional Municipality Email: gillamr@halifax.ca Phone: (902) 490-6167 Fax: (902) 490-6583 >>> trung.nguyen@globalcompliance.com 10/03/05 10:45 am >>> Ritchie, No, it's not in server.xml, It's in $TOMCAT_HOME/bin/catalina.sh, add this = line below: JAVA_OPTS=3D"-server -XX:MaxPermSize=3D256m" Hope this help.... --Trung -----Original Message----- From: Ritchie Gillam [mailto:gillamr@halifax.ca]=20 Sent: Monday, October 03, 2005 9:34 AM To: tomcat-user@jakarta.apache.org=20 Subject: RE: Why getting this error? Thanks Peter! Can you provide an example please? Is this defined = somewhere in the server.xml file? Thanks Ritchie Gillam Programmer Analyst, Information Services, Halifax Regional Municipality Email: gillamr@halifax.ca=20 Phone: (902) 490-6167 Fax: (902) 490-6583 >>> Peter.Crowther@melandra.com 10/03/05 10:29 am >>> > From: Ritchie Gillam [mailto:gillamr@halifax.ca]=20 > java.lang.OutOfMemoryError: PermGen space Although your Java virtual machine has enough memory allocated to it, something (probably the number of classes being loaded, or the number of times you're reloading the webapp) is causing the permanent generation to fill up. This holds class files, for example. PermGen defaults to 64 Mbytes, no matter how much heap space is allocated to Java. Increase the memory allocated to PermGen using eg. -XX:MaxPermSize=3D128m to double it. - Peter --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org=20 For additional commands, e-mail: tomcat-user-help@jakarta.apache.org=20 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org=20 For additional commands, e-mail: tomcat-user-help@jakarta.apache.org=20 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org=20 For additional commands, e-mail: tomcat-user-help@jakarta.apache.org=20 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org