Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-465

Classloader memory leak on redeployment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Auto Closed
    • 1.5.0
    • None
    • None
    • None

    Description

      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

      Attachments

        1. tomee-leak.zip
          7 kB
          Harald Wellmann

        Activity

          People

            Unassigned Unassigned
            hwellmann Harald Wellmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: