Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1949

Memory leak in DeploymentContextImpl.stores

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 1.1.3.Final, 1.1.7.Final
    • None
    • None

      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

            Unassigned Unassigned
            falko.modler@t-systems.com Falko Modler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: