Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4065

Severe warning about potential memory leak in Guice when shutting down tomcat

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Neutral
    • 5.5
    • 5.3, 5.4
    • core
    • None
    • Saigon 49
    • 5

    Description

      When shutting down the ee-bundle (4.5 b6) running with tomcat (6 or 7) we get the lot of severe warnings like:
      Feb 16, 2012 7:24:39 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
      SEVERE: The web application [/magnoliaPublic] created a ThreadLocal with key of type [com.google.inject.internal.InjectorImpl$1] (value [com.google.inject.internal.InjectorImpl$1@68c4ecf8]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@4ef96dc3]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                dlipp Daniel Lipp
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - 5d
                      5d
                      Remaining:
                      Remaining Estimate - 5d
                      5d
                      Logged:
                      Time Spent - Not Specified
                      Not Specified