Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-873

Arquillian throws OutOfMemoryError: PermGen space after deploying several big wars on JBoss 7

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Test Suite
    • Labels:

      Description

      Here's the proof (that build is saved forever):
      https://hudson.qa.jboss.com/hudson/view/Drools%20jBPM/job/guvnor/1161/console
      Our war is apparently so big, that the 3th deployment fails with PermGen.

      A few tests later it even hangs forever (until it times out)

      10:41:56,393 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/dc25ad71-9358-412e-8a90-c4471cb3422f].[ArquillianServletRunner]] (http--127.0.0.1-8080-2) Servlet.service() for servlet ArquillianServletRunner threw exception: java.lang.OutOfMemoryError: PermGen space
      

      How to reproduce?
      =================

      git clone git@github.com:droolsjbpm/guvnor.git guvnor
      cd guvnor
      mvn clean install -DskipTests
      cd guvnor-webapp
      gedit src/test/resources/arquillian.xml
      // remove the maxTestClassesBeforeRestart property
      mvn test

      Using arquillian 1.0.0.CR5 and jboss 7.0.2.

      Workaround: use maxTestClassesBeforeRestart = 1.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                alrubinger Andrew Rubinger
                Reporter:
                ge0ffrey Geoffrey De Smet
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: