Hi,
how can I fix Tomcat 6 memory leaks in JIRA 4.4.3? Shoul be solved in Tomcat 7, but is is not supported by JIRA. More information about leak:
http://wiki.apache.org/tomcat/MemoryLeakProtection
I have a lot off error messages in JIRA log file like:
Feb 24, 2012 9:27:24 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.jira.util.ImportUtils$3] (value [com.atlassian.jira.util.ImportUtils$3@d7580d]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Feb 24, 2012 9:27:24 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1d5ec12]) and a value of type [com.atlassian.jira.issue.index.SearcherCache] (value [com.atlassian.jira.issue.index.SearcherCache@17dcb1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Feb 24, 2012 9:27:24 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [com.atlassian.jira.dashboard.permission.JiraPermissionService$1] (value [com.atlassian.jira.dashboard.permission.JiraPermissionService$1@1108ae2]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Feb 24, 2012 9:27:24 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@10e0d6a]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@192b3eb]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Feb 24, 2012 4:01:33 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [] created a ThreadLocal with key of type [com.google.inject.InjectorImpl$10] (value [com.google.inject.InjectorImpl$10@47833f]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@f9c646]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
And after a week Tomcat (JIRA) crash on Java Heap Space. Can someone help? Thanks.