我正在运行一个tomcat服务器,而我正在使用的其中一个软件包中的某些软件包似乎存在内存泄漏。我收到以下错误。有人可以告诉我如何调试这样的问题。我正在使用IntelliJ IDE。
May 05, 2016 7:27:47 PM org.oceanbandit.solver.BanditSolver writeNewFeatureToDataBaseHybridModel
INFO: Update duration in LinUCB Hybrid27583650
May 05, 2016 7:27:47 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-apr-8009"]
May 05, 2016 7:27:47 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
May 05, 2016 7:27:47 PM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 1 instance(s) to be deallocated for Servlet [sFeedbackServlet]
May 05, 2016 7:27:48 PM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 1 instance(s) to be deallocated for Servlet [sFeedbackServlet]
May 05, 2016 7:27:49 PM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 1 instance(s) to be deallocated for Servlet [sFeedbackServlet]
May 05, 2016 7:27:49 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation.
May 05, 2016 7:27:49 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-apr-8080"]
答案 0 :(得分:0)
看起来tomcat正在尝试卸载webapp,但仍有请求正在运行。您可以将intellij调试器附加到tomcat进程,如果使用远程调试选项声明它以查看该请求是什么。