Sunday, March 27, 2011

GUIDE/TWEAK: Improve Eclipse load time

In my old station Eclipse load around 35~37 seconds. This is slow!
After a short research I've found that there is a way to speed things up...
After executing this steps I've improved the load time to ~11 seconds.

Uninstall unnecessary plugins
  1. Eclipse menu -> Help -> Install New Software
  2. On the lower right you'll find 'what is already installed?' Click it.
  3. On the 'Installed Software' tab select the wanted plug-ins and select 'Uninstall...'.
  4. Follow the instructions...


Configuring the Eclipse.ini file to improve performance.
NOTE - Execute the following steps on your own risk!! I'm not responsible (It works for me).

  1. Close Eclipse
  2. Goto your Eclipse root folder.
  3. MAKE COPY / DUPLICATE THE ORIGINAL 'eclipse.ini' FILE before moving to the next step!!!
  4. Edit the file 'eclipse.ini' to contain the folwing text:
-data
C:/Devenv/Devenv eclipse workspace
-showlocation
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
-vm
C:/Program Files/Java/jre6/bin/client/jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Declipse.p2.unsignedPolicy=allow
-Xms128m
-Xmx384m
-Xss4m
-XX:PermSize=128m
-XX:MaxPermSize=384m
-XX:CompileThreshold=5
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=70
-XX:+CMSIncrementalPacing
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:+UseFastAccessorMethods
-Dcom.sun.management.jmxremote
  • If any thing goes wrong - use the duplicated file you made at step 4!!


Have fun...

Solution sources

No comments:

Post a Comment