0
在安装eclipse的谷歌应用程序引擎时,我得到perm gen error
。我读到,你需要增加日食的perm gen
的大小从日食配置或ini文件。目前看起来像这样:我应该增加尺寸以避免烫发错误?
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
有多少位置需要编辑?我需要在哪里添加?并且256 M
是指MB?我应该增加尺寸多大?
小米的意思是一样的吗? –
实际上'--launcher.XXMaxPermSize 256m'分配PermSize ..如果它导致问题增加到348m并测试它。 – Ravi
@Ravi这是发射器,而不是IDE。 “启动程序”VM设置适用于由IDE启动的JVM,例如运行单元测试或“main()”等.IDE本身具有自己的不同(通常较大)VM设置没有'--launcher.'前缀,就像OP发布的文件内容中的最后一个一样 – Bohemian