首页 > 移动平台 > 详细

警告: 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:

时间:2017-08-24 21:12:26      阅读:28411      评论:0      收藏:0      [点我收藏+]

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:

原文:http://www.cnblogs.com/rocky-fang/p/7424932.html

(4)
(4)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!