试图检测应用程序中的内存泄漏。查看了tomcat日志。Tomcat 检测到泄漏来自com.opensymphony.xwork2.*
api。
我只想知道这是否可能是崩溃的原因?
以下是声称泄漏的日志。
SEVERE: The web application [/openreports] created a ThreadLocal with key of type [com.opensymphony.xwork2.ActionContext.ActionContextThreadLocal] (value [com.opensymphony.xwork2.ActionContext$ActionContextThreadLocal@1bfdfa36]) and a value of type [com.opensymphony.xwork2.ActionContext] (value [com.opensymphony.xwork2.ActionContext@3f35fd95]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
SEVERE: The web application [/openreports] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7edb7d08]) and a value of type [org.dom4j.DocumentFactory] (value [org.dom4j.DocumentFactory@7bedd948]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
SEVERE: The web application [/openreports] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@6d041bf8]) and a value of type [com.opensymphony.xwork2.inject.InternalContext[]] (value [[Lcom.opensymphony.xwork2.inject.InternalContext;@3c544588]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.