This question is related to What are the best JVM settings for Eclipse?
What are the best JVM settings you have found for running Eclipse Luna?
Here's a blog entry describes about it.
This is my current eclipse.ini settings (x64 core i5, 8GB RAM Machine):
UPDATE: Optimized further.
-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