How can you make the experience with Eclipse faster?
For instance: I disable all the plugins I don\'t need (Mylyn, Subclipse, …).<
Along with the latest software (latest Eclipse and Java) and more RAM, you may need to
reference:making-eclipse-ide-faster
Close any open projects which are not in current use.
Try to switch off the auto publish mode during development.
While not directly related to Eclipse:
If you're running Windows 7 (and presumably Windows Vista), be sure to disable the file indexing of your workspace folder if your stuff is is in the default place - your home folder. Windows by default indexes everything in you home folder, and it's normally just a waste for your workspace. (Right click the workspace folder in explorer , Properties -> Advanced.)
Best practices in this thread are implemented in the free Optimizer For Eclipse, from ZeroTurnaround.
What does it help with?
For more details, check out this article from RebelLabs.
The three most influential factors for Eclipse speed are:
The "same" workspace in Indigo (3.7.2) SR2 loads in 4 seconds, in Kepler SR2 (4.3.2) in 7 seconds and in Luna (4.4.0) in 10 seconds. All are Java EE bundles. Newer versions have more bundled plugins, but still the trend is obvious. (by "same" workspace I mean: same (additionally installed) plugins used, same projects checked out from version control).
Launching it with the latest JDK (Java 14 at the time of writing, which does not prevent you to compile in your Eclipse project with any other JDK you want: 1.4.2, 1.5, 1.6 older...)
-vm jdk1.6.0_10\jre\bin\client\jvm.dll
Configuring the eclipse.ini (see this question for a complete eclipse.ini)
-Xms512m
-Xmx4096m
[...]
The Xmx
argument is the amount of memory Eclipse will get (in simple terms). With -Xmx4g
, it gets 4 GB of RAM, etc.
Note:
Add -Xverify:none
to your eclipse.ini file.
It will cut down your Eclipse startup time considerably (50% in my case if not more). This will tell the VM not to validate all the .class files it is loading.
Consider this: Never Disable Bytecode Verification in a Production System (as mentioned in the comments)