我遇到错误提示 ERROR: 'Java heap space'
。我关注了these instructions增加 Eclipse 的堆大小,但它不起作用。 Eclipse 似乎忽略了给定的值。我的 eclipse.ini
文件如下所示:
-startup
../../../plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=512m
-Xms512m
-Xmx1024m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.ecli
pse.swt.internal.carbon.smallFonts
在Mac上运行的Eclipse版本是3.6.1。
任何想法可能是错误的?
最佳答案
您确定要为应用程序执行而不是 Eclipse 本身配置参数吗?
我通常在 Run | 配置堆大小运行配置对话框。
关于java - 在 Eclipse 中增加 Java 堆大小的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5965147/