Caused by: java.lang.OutOfMemoryError: PermGen space
来源:互联网 发布:吸毒人群数据 编辑:程序博客网 时间:2024/05/19 06:37
最近使用eclipse做开发,使用的服务器是tomcat,但在启动时报了Caused by: java.lang.OutOfMemoryError: PermGen space的异常。
这个错误很常见,于是配置tomcat下的catalina.bat,配置eclipse.ini,各种方法都用过了,不管用!
修改eclipse的Run Configurations。点击“Run”-"Run Configurations",在打开的窗口中点击“Arguments”选项卡。
在VM arguments中内容最下边输入:
-Xms256m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m
转载路径:https://jingyan.baidu.com/article/20b68a884d7f72796cec62e3.html
Exception in thread ""http-bio-8080"-exec-1" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Druid-ConnectionPool-Destory" java.lang.OutOfMemoryError: PermGen space
该异常可按上面方式处理如果是Tommct下启动可以配置catalina.bat,在setlocal下添加如下信息
set JAVA_OPTS=-Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=2048m
阅读全文
0 0
- Caused by: java.lang.OutOfMemoryError: PermGen space
- Caused by: java.lang.OutOfMemoryError: PermGen space
- Caused by: java.lang.OutOfMemoryError: PermGen space
- Caused by: java.lang.OutOfMemoryError: PermGen space
- Caused by: java.lang.OutOfMemoryError: PermGen space
- Caused by: java.lang.OutOfMemoryError: PermGen space
- Caused by: java.lang.OutOfMemoryError: PermGen space
- Caused by: java.lang.OutOfMemoryError: PermGen space
- Caused by: java.lang.OutOfMemoryError: PermGen space
- Tomcat:Caused by: java.lang.OutOfMemoryError: PermGen space
- Tomcat:Caused by: java.lang.OutOfMemoryError: PermGen space
- Tomcat:Caused by: java.lang.OutOfMemoryError: PermGen space的解决方案
- Tomcat:Caused by: java.lang.OutOfMemoryError: PermGen space
- Tomcat:Caused by: java.lang.OutOfMemoryError: PermGen space解决方案
- Tomcat:Caused by: java.lang.OutOfMemoryError: PermGen space
- Tomcat8 Caused by: java.lang.OutOfMemoryError: PermGen space错误解决方法
- Caused by: java.lang.OutOfMemoryError: PermGen space异常处理
- Tomcat:Caused by: java.lang.OutOfMemoryError: PermGen space的解决方案
- Windows下Python配置Theano深度学习框架Keras库
- cent os7设置静态ip
- queue
- MFC中CSTATIC控件双击全屏/双击恢复
- Java自定义注解@Retention和@Target
- Caused by: java.lang.OutOfMemoryError: PermGen space
- hdu 1787 欧拉函数算法
- 《Python核心编程》第二版学习总纲
- iOS 11配置文件
- Android学习笔记:Preference的使用
- 如何使用nodejs上传图片/文件
- Resin中对日志输出的配置
- linux中mysql数据库忘记密码解决方法
- java web项目启动加载顺序