Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-66

Deploying SEAM examples results in java.lang.OutOfMemoryError: PermGen space

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.2.RC1
    • 4.2.ALPHA1
    • Seam
    • None
    • Hide

      If many applications are to be run simultaenously, we recommend the following adjustments be made to your run.conf file:
      JAVA_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"

      You might also consider -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled if you are doing a lot of redeployment.

      Show
      If many applications are to be run simultaenously, we recommend the following adjustments be made to your run.conf file: JAVA_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m" You might also consider -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled if you are doing a lot of redeployment.

    Description

      There are two SEAM examples that are provided with the SEAM Application Platform distribution. Additionally, there are several examples provided in seam/examples. Attempting to deploy all the examples, causes the server's PermGen space to be exhausted. The server is no longer usable and must be killed by an explicit "kill" command.

      The following JIRA issue is possibly related but has not yet been confirmed:

      http://jira.jboss.com/jira/browse/JBAS-3071

      Attachments

        Issue Links

          Activity

            People

              smcgowan@redhat.com Shelly McGowan (Inactive)
              smcgowan@redhat.com Shelly McGowan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: