Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6776

Memory leak with ServletContainerInitializer

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: No Release
    • Fix Version/s: None
    • Component/s: Web
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ctomc Toma┼ż Cerar
                Reporter:
                ssilvert Stan Silvert
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: