Threads are going to be renewed over time to try and avoid a probable memory leak.
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Threads are going to be renewed over time to try and avoid a probable memory leak.相关的知识,希望对你有一定的参考价值。
AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/solr] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7266f274]) and a value of type [com.chenlb.mmseg4j.analysis.MMSegTokenizer] (value [(solrpingquery,startOffset=0,endOffset=13,type=letter)]) 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.
http://stackoverflow.com/questions/7788280/memory-leak-when-redeploying-application-in-tomcat
你可以利用JProfile这一类的工具或者用jhat导出类情况分析。分析下当前哪里存在引用导致的泄露,再更改相应的代码,解决这类问题。祝你好运! 参考技术A 线程需要及时更新以避免可能的存储泄露。 参考技术B 线程将不断的重新尝试避免可能的内存漏洞。
以上是关于Threads are going to be renewed over time to try and avoid a probable memory leak.的主要内容,如果未能解决你的问题,请参考以下文章