[jboss-jira] [JBoss JIRA] (AS7-2516) Arquillian throws OutOfMemoryError: PermGen space after deploying several big wars on JBoss 7

Geoffrey De Smet (Created) (JIRA) jira-events at lists.jboss.org
Fri Nov 4 11:10:45 EDT 2011


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

                 Key: AS7-2516
                 URL: https://issues.jboss.org/browse/AS7-2516
             Project: Application Server 7
          Issue Type: Bug
          Components: Test Suite
    Affects Versions: 7.0.2.Final
            Reporter: Geoffrey De Smet
            Assignee: Andrew Rubinger
            Priority: Minor


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)
{code}
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
{code}

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

git clone git at 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list