[jboss-jira] [JBoss JIRA] (AS7-6776) Memory leak with ServletContainerInitializer

Stan Silvert (JIRA) jira-events at lists.jboss.org
Sat Mar 23 07:55:41 EDT 2013


    [ https://issues.jboss.org/browse/AS7-6776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762752#comment-12762752 ] 

Stan Silvert commented on AS7-6776:
-----------------------------------

It does go deeper.  DeploymentUnitImpl doesn't go away on undeploy or redeploy.
                
> Memory leak with ServletContainerInitializer
> --------------------------------------------
>
>                 Key: AS7-6776
>                 URL: https://issues.jboss.org/browse/AS7-6776
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Web
>    Affects Versions: 8.0.0.Alpha1
>            Reporter: Stan Silvert
>            Assignee: Remy Maucherat
>         Attachments: mysci.zip, PlainWebApp.zip
>
>
> ServletContainerInitializers are not cleaned up on undeploy.  This causes a memory leak.
> I'm attaching a couple of maven projects to reproduce the problem.  The first project creates a jar with an SCI that allocates 50MB.  The second project is a plain war that packages the SCI's jar.
> Redeploy the WAR several times and you will get an OOME.

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


More information about the jboss-jira mailing list