[arquillian-issues] [JBoss JIRA] (ARQ-629) Tomcat6-managed container: running 39 testcase classes with n test methods each on hudson result in a crash on the 10th deployment

Aslak Knutsen (Commented) (JIRA) jira-events at lists.jboss.org
Fri Oct 14 12:17:18 EDT 2011


    [ https://issues.jboss.org/browse/ARQ-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634939#comment-12634939 ] 

Aslak Knutsen commented on ARQ-629:
-----------------------------------

Not sure what Arquillian can do in this case, as it's a Tomcat/JVM/Your App deploy leak. 90% of the app servers out there will run out of PermGen if you deploy/redeploy enough times. 

You can configure Arquillian to restart the Container after x number of TestClasses, which 'kinda' helps, but.. 

<arquillian>
  <engine>
    <property name="maxTestClassesBeforeRestart">20</property>
  </engine>
</arquillian>
                
> Tomcat6-managed container: running 39 testcase classes with n test methods each on hudson result in a crash on the 10th deployment
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARQ-629
>                 URL: https://issues.jboss.org/browse/ARQ-629
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tomcat Containers
>    Affects Versions: 1.0.0.CR4
>            Reporter: Geoffrey De Smet
>            Priority: Minor
>
> So it deploys 39 times, and after about the 10th or so it crashes because of perm gen space IIRC.
> My build was here, but on build 5 or so I switched it from tomcat to jboss7-managed:
>   https://hudson.qa.jboss.com/hudson/view/Drools%20jBPM/job/guvnor-ge0ffrey-seam3upgrade/

--
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 arquillian-issues mailing list