Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10229

HotDeploymentRepository memory leak due to retention of deployment root VirtualFile and ProfileDeployment after undeploy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • TBD EAP 5
    • EAP_EWP 5.1.2
    • Profile Service
    • None
    • Hide

      Hot deploy and undeploy a large application until OutOfMemory occurs.

      Show
      Hot deploy and undeploy a large application until OutOfMemory occurs.
    • Release Notes
    • Hide
      On hot undeployment, references to a deployment's root <literal>VirtualFile</literal> and <literal>ProfileDeployment</literal> are left unused in variables on <literal>AbstractVFSProfileSource</literal>, an ancestor of <literal>HotDeploymentRepository</literal>. This causes an accumulation of classes on the heap, many of which are VFS <literal>ZipEntryContexts</literal> representing all of the files in the deployment. Repeated deployment and undeployment eventually leads to an Out Of Memory exception error.

      The root cause of this issue is under investigation and it is expected to be resolved in a future release.
      Show
      On hot undeployment, references to a deployment's root <literal>VirtualFile</literal> and <literal>ProfileDeployment</literal> are left unused in variables on <literal>AbstractVFSProfileSource</literal>, an ancestor of <literal>HotDeploymentRepository</literal>. This causes an accumulation of classes on the heap, many of which are VFS <literal>ZipEntryContexts</literal> representing all of the files in the deployment. Repeated deployment and undeployment eventually leads to an Out Of Memory exception error. The root cause of this issue is under investigation and it is expected to be resolved in a future release.
    • Documented as Known Issue
    • NEW

      On hot undeployment, references to a deployment's root VirtualFile and ProfileDeployment are left dangling in variables on AbstractVFSProfileSource, an ancestor of HotDeploymentRepository. This causes an accumulation of classes on the heap, many of which are VFS ZipEntryContexts representing all of the files in the deployment. Repeated deployment and undeployment eventually leads to OOM.

            rhn-support-csams Christopher Sams
            rhn-support-csams Christopher Sams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: