Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 12199 invoked from network); 13 Oct 2009 19:11:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Oct 2009 19:11:01 -0000 Received: (qmail 26346 invoked by uid 500); 13 Oct 2009 19:11:01 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 26280 invoked by uid 500); 13 Oct 2009 19:11:01 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 26272 invoked by uid 99); 13 Oct 2009 19:11:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 19:11:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 19:10:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6D427234C046 for ; Tue, 13 Oct 2009 12:10:31 -0700 (PDT) Message-ID: <1333319680.1255461031446.JavaMail.jira@brutus> Date: Tue, 13 Oct 2009 12:10:31 -0700 (PDT) From: "Quintin Beukes (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-4885) Configure default max heap and max permsize In-Reply-To: <619794149.1253310736337.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Quintin Beukes updated GERONIMO-4885: ------------------------------------- Attachment: default-memory-options.patch The patch is for both the geronimo.bat and geronimo.sh and sets JAVA_OPTS="-Xmx128m -XX:MaxPermSize=128m" if JAVA_OPTS is empty/unset. Does so after setJavaEnv.bat and setjavaenv.sh has been callled (respectively). > Configure default max heap and max permsize > ------------------------------------------- > > Key: GERONIMO-4885 > URL: https://issues.apache.org/jira/browse/GERONIMO-4885 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Affects Versions: 2.2 > Reporter: Kevan Miller > Fix For: 2.2 > > Attachments: default-memory-options.patch > > > It seems that the amount of PermGen space being used by Geronimo 2.2. I think users are more likely to run into OutOfMemoryErrors as a result. Even on small to medium size apps. Setting a default max heap and max perm size should help avoid this... > Looks like a 2.2 server is using the following: > 50 MB heap > 80 MB PermGen > I'd suggest setting the max for both options to 128M. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.