Tomcat内存泄漏很厉害,一般这个如何测试知道哪里除了问题

大_爱 大_爱 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
在关闭Tomcat的时候报了很多错,贴上错误代码

SEVERE: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Thread-9] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Thread1] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-7] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-8] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-9] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-10] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-11] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-12] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-13] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-14] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-15] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-16] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-17] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-21] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-22] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-23] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-24] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-25] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-26] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-27] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-28] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-29] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-30] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-31] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-32] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-33] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-34] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-35] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-36] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-37] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-38] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [Timer-3] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-49] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [pool-1-thread-50] but has failed to stop it. This is very likely to create a memory leak.
Jan 03, 2002 7:09:16 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-80

希望大家能讨论讨论这个一般是由什么问题引起的,如何解决,或者有没有比较好的工具可以测试



一下是CSDN广告,与本人无关
...全文

相关推荐

评论 29
收藏 已收藏
分享
返回顶部
大_爱
Web 开发 81,107 成员 341,720 内容