eclipse编译过程出现堆栈溢出情况

来源:互联网 发布:淘宝店怎么升级快 编辑:程序博客网 时间:2024/06/05 14:33

一。eclipse编译过程出现堆栈溢出情况,有可能是eclipse.ini文件的问题。



-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms1024m
-Xmx1800m
-XX:MaxPermSize=1024m


加上红色这一段


二。当然也可以在window---preferences--installed JRES

如下图在VM  arguments中加入参数-Xms512m  -Xmx1024m








原创粉丝点击