Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 84990 invoked from network); 3 Oct 2005 13:56:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2005 13:56:28 -0000 Received: (qmail 76972 invoked by uid 500); 3 Oct 2005 13:56:11 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 76960 invoked by uid 500); 3 Oct 2005 13:56:11 -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 76949 invoked by uid 99); 3 Oct 2005 13:56:11 -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:56:11 -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 [168.215.128.85] (HELO smtp.globalcomplianceservices.com) (168.215.128.85) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 06:56:16 -0700 Received: from gcszexg001.gcs01.com (unknown [10.7.1.12]) by smtp.globalcomplianceservices.com (Postfix) with ESMTP id 3C88E3BF2E for ; Mon, 3 Oct 2005 10:08:12 -0400 (EDT) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 Subject: RE: Why getting this error? Date: Mon, 3 Oct 2005 09:55:49 -0400 Message-ID: <713C2D75B62BEF4EBF6DD63C936DCA062E0530@gcszexg001.gcs01.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Why getting this error? Thread-Index: AcXIITN42LdRNGH3SUCvyOykWh9TsQAAFHGQ From: "Trung Nguyen" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If you haven't set this variable elsewhere within the box, PermGen = defaults to 64MB, otherwise, you can see the size by using "ps -avx" = command.... --Trung -----Original Message----- From: Ritchie Gillam [mailto:gillamr@halifax.ca] Sent: Monday, October 03, 2005 9:48 AM To: tomcat-user@jakarta.apache.org Subject: RE: Why getting this error? 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 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org