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

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

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

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