警告: The web application [ROOT] appears to have started a thread named [Thread-48] but has failed to
书到用时方恨少,事非经过不知难。这篇文章主要讲述警告: The web application [ROOT] appears to have started a thread named [Thread-48] but has failed to 相关的知识,希望能为你提供帮助。
【警告: The web application [ROOT] appears to have started a thread named [Thread-48] but has failed to】1. 问题描述
tomcat跑web项目(其中依赖java项目) 出现大量上述警告 项目起不来
关键字 memory leak 内存泄漏
2. 解决方案
难道是程序写的有问题?
最终 将tomcat VM参数中 内存调大 解决了
-Xms512m -Xmx512m -Xmn300m -Xss2048k -XX:PermSize=512m -XX:MaxPermSize=512m
需要根据机器的配置做相应调整
推荐阅读
- @RequestMapping映射请求,@PathVariable,@RequestParam,@RequestHeader的使用
- getApplicationContext()
- 在Android中创建文件
- elasticsearch mapping
- spring配置文件applicationContext.xml的路径设置
- android获取内置和外置SD卡路径 - z
- Android开发艺术探索
- React-Native 问题随记2( com.android.builder.testing.api.DeviceException)
- Android中让应用程序自动安装到手机内存及判断应用程序是否安装在SDCard中