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.的主要内容,如果未能解决你的问题,请参考以下文章

Try to buy one befor all the tickets _ A.will be sold B.are sold C.will be sold out D.are sold out

ToolUse-Target is up to date. Nothing to be done (all items are up-to-date).

remote: GitLab: You are not allowed to push code to protected branches on this project.

vue打包问题:Tip: built files are meant to be served over an HTTP server.

The children are going to school /The woman is going to the post office.怎么一个名词前需要加the

"One or more types required to compile a dynamic expression cannot be found. Are you missing re