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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • None
    • Test Suite

      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.

              arubinge@redhat.com Andrew Rubinger (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: