eclipse运行报java.lang.OutOfMemoryError: PermGen space解决方法

来源:互联网 发布:adobe reader百度软件 编辑:程序博客网 时间:2024/06/06 09:23

转自:http://blog.csdn.net/cuker919/article/details/45246073

http://blog.csdn.net/u012572955/article/details/50290763

http://blog.csdn.net/gaohaiyang/article/details/7196908

1、eclipse菜单栏=》run=>debug configurations(run configurations)
;


2、右侧选择arguments菜单;


3、在vm arguments最下面添加
-Xms256m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=256M


注意:在D:\apache-tomcat-7.0.18\bin\catalina.bat中设置JVM参数后,在Eclipse里面启动tomcat时,设置无效。

阅读全文
0 0
原创粉丝点击