Harald Wellmann created TOMEE-465:
-------------------------------------

             Summary: Classloader memory leak on redeployment
                 Key: TOMEE-465
                 URL: https://issues.apache.org/jira/browse/TOMEE-465
             Project: TomEE
          Issue Type: Bug
    Affects Versions: 1.5.0
            Reporter: Harald Wellmann
         Attachments: tomee-leak.zip

Redeploying the attached webapp a couple of times in a row (e.g. by modifying 
and saving the source file in Eclipse with WTP and automatic publishing 
enabled) leads to an OutOfMemoryError.

Inspecting the heap with Eclipse Memory Analyzer, I see stale copies of the 
LeakingSingleton class having the contextClassLoader of an 
org.apache.openejb.scheduler.pool thread as GC root.

Tested with apache-tomee-1.5.1-20121014.041023-38-webprofile.zip

--
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

Reply via email to