Tuning Eclipse 3.4 for Performance Purpose
Recently, eclipse has released the core ide development code named Ganymede. I had tried the changes and feel badly in performance experience (My office PC is little bit old). So I need to tune up the eclipse engine so it can start and run smoothly during my work. Here is the few step to increase the performance in Eclipse.
Adding garbage collector option and memory capacity.
In eclipse.ini file under eclipse home directory, please add the following lines before next time starting eclipse
…
-vmargs
…
-Xms128m
-Xmx256m
-XX:+UseParallelGC
…
The first two items, -Xms128 and -Xmx256m indicate eclipse to start up with the minimun memory = 128 mb and maximun memory = 256 mb. This will reserve a heap to eclipse and avoid eclipse to memory leak in case of a big project assigned.
-XX:+UseParallelGC force the garbace collector to reclaim the memory in parallel. The parallel method will reduce the “Stop The World” pause time slightly.
Turn off some inessential options in Eclipse preference.
1. Uncheck “Enable Capture” option in Usage data collector menu under Eclipse Perferences.
2. In validation menu, again in preference. Please tun on “suspend all validators” option.
3. Ignore the spell checking features by check out “enable spell checking” option in preference/editors/text editors/spellings.
4. Not allow eclipse to build package automatically in eclipse menu -> project->build automatically.
PS. Some features are available in 3.4 eclipse. For the previous used in Europa 3.3–, you can set tune a part of feature without the whole steps.
Related posts
Tags: eclipse, english, Software