[jboss-jira] [JBoss JIRA] (AS7-2516) Arquillian throws OutOfMemoryError: PermGen space after deploying several big wars on JBoss 7
jay shaughnessy (JIRA)
jira-events at lists.jboss.org
Thu Nov 1 09:49:19 EDT 2012
[ https://issues.jboss.org/browse/AS7-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730804#comment-12730804 ]
jay shaughnessy commented on AS7-2516:
--------------------------------------
It looks like we're seeing this as well on the JON/RHQ project. We have a smaller test EAR that deploys only an EJB jar and a few jars to /lib, and this deployment does not have the problem. But a larger deployment with two EJB jars, a SAR and a lot of 3rd party jars (no WARs fwiw) hits it fairly quickly, after 2-3 deployments.
I have not tried the workaround yet. Also, we're trying to set up a single deployment for multiple test classes. If that works then that may be a separate workaround.
> 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
> Labels: rhq
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list