Tomcat showing this error “This is very likely to create a memory leak”. How to resolve this issue?

帅比萌擦擦* 提交于 2019-12-05 18:37:52

You are using a library that is starting one or more threads and is not properly shutting them down or releasing other resources captured by the thread. This often happens with things like Apache HTTP components (I get this error with Http Components) and anything that uses separate threads internally. What libraries are you using in your Cocoon application?

It is telling you the issue:

 [...] is still processing a request that has yet to finish

You need to find out what that request is/is going to. One easy way is to have something like PsiProbe installed.

Also, it's not a bad idea to restart Tomcat every night. It can help alleviate these kinds of issues until you find the root cause.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!