服务器报错Exception in thread "http-8080-29" java.lang.OutOfMemoryError: PermGen space
来源:互联网 发布:js删除数组最后一个 编辑:程序博客网 时间:2024/06/08 01:30
解决方法:
1、手动设置MaxPermSize大小
修改TOMCAT_HOME/bin/catalina.sh
在“echo "Using CATALINA_BASE: $CATALINA_BASE"”上面加入以下行:
JAVA_OPTS="-server -XX:PermSize=64M -XX:MaxPermSize=128m
2、也可能是你以前在myeclipse里面部署过太多项目,虽然在myeclipse里面删掉了,但是并没有在tomcat的webapps文件夹里面删除,导致tomcat的webapps文件夹里面的项目越积越多,这样的话,就算你配上1个G都不管用,因为会越积越多。
所以,简单点说就是直接在webapps里面删掉以前部署过的项目。毕竟一般的电脑就那么点内存。偶也是被困扰了好久哈。
0 0
- 服务器报错Exception in thread "http-8080-29" java.lang.OutOfMemoryError: PermGen space
- Tomcat7启动报错:Exception in thread "http-apr-8080-exec-6" java.lang.OutOfMemoryError: PermGen space
- Exception in thread ""http-bio-8080"-exec-1" java.lang.OutOfMemoryError: PermGen space Exception in
- : tomcate 报 PermGen space 错误Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
- tomcate 报 PermGen space 错误Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
- JAVA异常:Exception in thread "http-8080-2" java.lang.OutOfMemoryError: PermGen space
- myeclipse运行tomcat报错Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
- Exception in thread "http-apr-8080-exec-6" java.lang.OutOfMemoryError: PermGen space 解决!
- Exception in thread "http-bio-8080-exec-11" java.lang.OutOfMemoryError: PermGen space
- eclipse:Exception in thread "http-bio-8080-exec-11" java.lang.OutOfMemoryError: PermGen space
- Exception in thread "http-bio-8080-exec-2" java.lang.OutOfMemoryError: PermGen space
- Exception in thread "http-bio-8080-exec-2" java.lang.OutOfMemoryError: PermGen space
- Exception in thread "http-8080-3" java.lang.OutOfMemoryError: PermGen space
- Exception in thread "http-bio-8080-exec-2" java.lang.OutOfMemoryError: PermGen space
- Exception in thread "http-bio-8080-exec-10" java.lang.OutOfMemoryError: PermGen space
- Exception in thread "http-bio-8080-exec-2" java.lang.OutOfMemoryError: PermGen space
- eclipse Exception in thread "http-bio-8080-exec-2" java.lang.OutOfMemoryError: PermGen space
- Exception in thread "http-8080-3" java.lang.OutOfMemoryError: PermGen space错误解决办法
- First Integral of Dynamical System
- 使用eclipse的javadoc注解
- 【TCP/IP】TCP的三次握手和四次挥手
- jBPM jPDL 3.2用户指南:第1章介绍
- 自加运算
- 服务器报错Exception in thread "http-8080-29" java.lang.OutOfMemoryError: PermGen space
- SuperSpider 基于webkit的web2.0爬虫介绍
- Linux超级Bash漏洞(Shellshock)修复方法,内附Debian服务器详细方法
- Python 正则表达式验证网络Log
- 作用域
- Eclipse4.2.2安装GlassFish插件
- madplay移植过程 - 音频mp3解码器
- GDB 调试正在运行的程序
- 【.Net码农】C#打开文件对话框(OpenFileDialog)