警告: The web application [ROOT] appears to have started a thread named [Thread-48] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:

1. 问题描述

tomcat跑web项目(其中依赖java项目) 出现大量上述警告 项目起不来

关键字 memory leak 内存泄漏

 

2. 解决方案

难道是程序写的有问题?

最终 将tomcat VM参数中 内存调大 解决了

-Xms512m -Xmx512m -Xmn300m -Xss2048k -XX:PermSize=512m -XX:MaxPermSize=512m

需要根据机器的配置做相应调整

警告: The web application [ROOT] appears to have started a thread named [Thread-48] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:

上一篇:Linux学习之centos 7 vim安装


下一篇:linux安装python