【问题标题】:What are the best JVM settings for Eclipse Luna (better performance)?Eclipse Luna 的最佳 JVM 设置是什么(更好的性能)?
【发布时间】: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


    【解决方案1】:

    正如您在问题What are the best JVM settings for Eclipse 中提到的,您也可以对 luna 使用相同的设置。

    注意:如果您使用的是 JRE 8,则 MaxPermSize=128m; 8.0 中移除了支持

    【讨论】:

      猜你喜欢
      • 2011-03-01
      • 2015-07-24
      • 1970-01-01
      • 1970-01-01
      • 2015-11-23
      • 2023-04-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多