[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-2024) Default JVM setting should set a higher perm gen memory setting

Jay Balunas (JIRA) jira-events at lists.jboss.org
Thu May 22 15:26:05 EDT 2008


Default JVM setting should set a higher perm gen memory setting
---------------------------------------------------------------

                 Key: JBPORTAL-2024
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-2024
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal Core
    Affects Versions: 2.6.5 Final, 2.6.4 Final
         Environment: fedora 8
JDK 1.5

            Reporter: Jay Balunas
         Assigned To: Julien Viet


After downloading the 2.6.4 bundle, and installing it I found that I would quickly run out of perm gen memory.  This was even with small applications/portals.  Portal adds a large amount of classes to the process and that quickly uses up the static perm gen space.  I checked 2.6.5's run.conf and it had the same settings and probably should be changed as well.

I fixed the issue by adding the PermSize settings below in run.conf.

-XX:PermSize=256m -XX:MaxPermSize=256m 

For some reason setting JAVA_OPTS outside of the this file did not seem to take effect.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list