【发布时间】:2015-03-18 06:06:04
【问题描述】:
此问题与What are the best JVM settings for Eclipse?有关
您发现运行 Eclipse Luna 的最佳 JVM 设置是什么?
这里有一个blog entry 对此进行了描述。
这是我当前的eclipse.ini 设置(x64 核心 i5,8GB RAM 机器):
更新:进一步优化。
-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.v20140603-1326
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showlocation
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:/Dev/Java/jdk1.7.0/jre/bin/server/jvm.dll
-Duser.name=James Bond
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Declipse.p2.unsignedPolicy=allow
-Dcom.sun.management.jmxremote
-Xverify:none
-Xms384m
-Xmx1g
-Xss4m
-XstartOnFirstThread
-XX:PermSize=256m
-XX:MaxPermSize=512m
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=70
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:+UseFastAccessorMethods
-XX:-DontCompileHugeMethods
-XX:MaxInlineSize=1024
-XX:FreqInlineSize=1024
-XX:-UseLoopPredicate
【问题讨论】:
标签: eclipse performance jvm eclipse-luna