EHC ❯ Memory Leak Tomcat Striped64.ThreadHashCode
-
Bug
-
Status: New
-
2 Major
-
Resolution:
-
-
-
drb
-
Reporter: apptaro
-
November 09, 2016
-
0
-
Watchers: 1
-
November 09, 2016
-
Description
When Tomcat undeploys and deploys an application using Ehcache, the following error appears:
catalina.log-20161110:09-Nov-2016 15:18:40.174 SEVERE [ajp-nio-8009-exec-14] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [net.sf.ehcache.util.concurrent.Striped64.ThreadHashCode] (value [net.sf.ehcache.util.concurrent.Striped64$ThreadHashCode@7c36a014]) and a value of type [net.sf.ehcache.util.concurrent.Striped64.HashCode] (value [net.sf.ehcache.util.concurrent.Striped64$HashCode@43fd8a1b]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.