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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.ALPHA1
    • Fix Version/s: 4.2.RC1
    • Component/s: Seam
    • Labels:
      None
    • Workaround Description:
      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shelly.mcgowan Shelly McGowan
                  Reporter:
                  shelly.mcgowan Shelly McGowan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: