You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Harald Wellmann (JIRA)" <ji...@apache.org> on 2012/10/14 21:17:02 UTC

[jira] [Updated] (TOMEE-465) Classloader memory leak on redeployment

     [ https://issues.apache.org/jira/browse/TOMEE-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harald Wellmann updated TOMEE-465:
----------------------------------

    Attachment: tomee-leak.zip
    
> 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