首页 > 移动平台 > 详细

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

标签:perm   bsp   大量   方案   tomcat   描述   size   maxperm   read   

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:

标签:perm   bsp   大量   方案   tomcat   描述   size   maxperm   read   

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

(0)
(0)
   
举报
评论 一句话评论(0
0条  
登录后才能评论!
© 2014 bubuko.com 版权所有 鲁ICP备09046678号-4
打开技术之扣,分享程序人生!
             

鲁公网安备 37021202000002号