How to tweak this eclipse.ini file to improve the performance of eclipse(Helios)?

rogerstone picture rogerstone · May 5, 2011 · Viewed 7k times · Source

Here's my eclipse.ini file

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m

What all should i add to improve the speed of eclipse to this.I have a 3GB Ram so i am looking forward to increase the memory allocated to eclipse. Would increasing --launcher.XXMaxPermSize do the job? I have read this What are the best JVM settings for Eclipse? .But the ini file seems to be a bit different from mine.I was a bit skeptical that i would corrupt my workspace and other settings so didn't play around with it.

Can someone advise me on what to add and change here so as to improve the performance of eclipse

Answer

mliebelt picture mliebelt · Apr 23, 2012

One option could be to ensure that Eclipse is started with a more current JDK. Currently, you only demand that Java version should be at least 1.5. If your Eclipse is really running with JDK 1.5, going to Java7 will give you a way much better performance, and I suspect start-up performance as well.