码迷,mamicode.com
首页 > 移动开发 > 详细

警告: 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:38:27      阅读:1824      评论:0      收藏:0      [点我收藏+]

标签:配置   tom   java项目   started   web app   tomcat   mem   memory   调整   

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:

标签:配置   tom   java项目   started   web app   tomcat   mem   memory   调整   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!