[arquillian-issues] [JBoss JIRA] (ARQ-1949) Memory leak in DeploymentContextImpl.stores

Falko M. (JIRA) issues at jboss.org
Fri May 8 06:37:45 EDT 2015


     [ https://issues.jboss.org/browse/ARQ-1949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Falko M. updated ARQ-1949:
--------------------------
    Environment: 
Java 1.7.0_80
Maven 3.2.5
Surefire-Plugin 2.18.1
Windows7 x64 and CentOS 6.5

  was:
Maven 3.2.5
Surefire-Plugin 2.18.1
Windows7 x64 and CentOS 6.5



> Memory leak in DeploymentContextImpl.stores
> -------------------------------------------
>
>                 Key: ARQ-1949
>                 URL: https://issues.jboss.org/browse/ARQ-1949
>             Project: Arquillian
>          Issue Type: Bug
>    Affects Versions: 1.1.3.Final, 1.1.7.Final
>         Environment: Java 1.7.0_80
> Maven 3.2.5
> Surefire-Plugin 2.18.1
> Windows7 x64 and CentOS 6.5
>            Reporter: Falko M.
>
> The {{Deployment}} (which also holds the {{Archive}}) for each test class is added to {{DeploymentContextImpl.stores}}. A {{Deployment}} is deactivated properly but it is *not* getting removed until the {{Manager}} shuts down.
> This can easily blow the heap of the executing JVM in case you have *many* test classes and/or *large* archives to deploy.
> In our environment the JVM forked by maven surefire dies with an OOM after just ~20 test classes. Xmx is set to 512m.
> PS: Another user came across this problem too: https://developer.jboss.org/thread/250124



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the arquillian-issues mailing list