eclipse_home_header

Eclipse is an open source community whose projects are focused on building an open development platform
comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across
the lifecycle.

I am using these settings for more than a year now, and the speed gain you can expect is in the range
of 40%. Eclipse is more responsive, start up time is nearly divided by 2! These gains are reproducible
on different machines in the office.

Conditions

  • You must have a dual processor or quad core, (better if you use VMarg1)
  • You must start Eclipse with Java 1.6, note that you can still compile your project with Java 1.5
    (see windows - preferences - java - Installed JRE's)

The tricks is to use the optimization done in JDK 1.6 (VMarg2) and the new agresivity of the Just In Time
compiler (JIT) for VMarg3

Add theses VM arguments to eclipse.ini (file is located in your Eclipse directory)
eclipse.ini

-XX:-UseParallelGC -XX:+AggressiveOpts -XX:-UseConcMarkSweepGC

Some details about what these parameters are doing:

VMarg1 -XX:-UseParallelGC

Use parallel garbage collection for scavenges. (Introduced in 1.4.1) this will create more threads running in parallel, so the second processor will be put in use

VMarg2 -XX:-UseConcMarkSweepGC

Use concurrent mark-sweep collection for the old generation. (Introduced in 1.4.1)

The Eclipse GUI will feel more responsive as memory will be reclaimed without blocking VM executions.

VMarg3 -XX:+AggressiveOpts Turn on point performance compiler optimizations that are expected to be default in upcoming releases. (Introduced in 5.0 update 6.)

&160;

More about tuning Garbage collector HERE and at the Java HotSpot VM Options page

You might like also

InstaSearch bring Apache Lucene search power to Eclipse
Among the 1246 plugins (!) available for Eclipse, I found this one that I really like to use since it has immediately boost my productivity in Eclipse. InstaSearch is an Eclipse plug-in for doing fast text search in the workspace. The search is performed instantly as-you-type and resulting files are displayed in an Eclipse view. It is a lightweight plug-in based on Apache Lucene search engine. Each file then can be previewed using few most matching and relevant lines. A …
2850 Days ago
Install PHP support PDT in Eclipse Indigo
Developed by Zend and IBM, Eclipse PDT add support for PHP development and allow to focus on the development of complex PHP-driven web applications. There is currently no package ready to download hence this small how to How to install PDT Download any version of Eclipse 3.7 Indigo from http://www.eclipse.org/downloads/ and install. Once installed, launch Eclipse and navigate to Help->Install new Software. Add the Indigo update site http://download.eclipse.org/releases/indigo if you don’t find it in the list. Once the Indigo Update …
2916 Days ago
Eclipse Indigo/New and Noteworthy
Eclipse Indigo is the annual release of Eclipse projects on June 22 2011; this year 62 project teams are part of the release. New and Noteworthy Eclipse Webtools Project Eclipse Platform Eclipse Mylyn Eclipse Target Management (RSE) JBossTools http://www.jboss.org/tools/download/ Not ready yet for Eclipse Indigo http://docs.jboss.org/tools/whatsnew/index.html   …
3013 Days ago
Eclipse shared install on a Windows Server 2003/2008
I did develop this solution at work for our internal purpose at www.innoveo.com. Going away from the paradigm “As a developer I run everything locally” isn’t easy to accept but in some rare cases, it make sense. Below I list what I consider to be the main advantages and drawbacks. Stability Not everybody is changing the developer environment as you need admin right to be able to do changes, more stability. The developer environment is standardized: convention over configuration always …
3400 Days ago
Eclipse 3.5 news and noteworthy
It is always difficult to discover what’s new in every Eclipse release, as the number of features is just growing over the years. More difficult is even to locate the new and noteworthy page, that’s why I list them all below for eclipse 3.5 News and noteworthy pages contains interesting or significant changes made to the Eclipse Platform for the 3.5 release of Eclipse. &160; &160; New for Eclipse 3.5 milestone build M7 (April 30, 2009) New for Eclipse 3.5 …
3734 Days ago
Eclipse Galileo aka eclipse 3.5 is here
For the sixth year in a row, the Eclipse community has delivered its annual release train on its scheduled date. Galileo, the 2009 release train, is the largest ever release from the Eclipse community, comprising 33 projects and over 24 million lines of code. Over 380 committers from 44 different organizations participated to make this release possible. &160; &160; Download it now Note: Subversive is part of Galileo, but the first time you sync your code, you may get in …
3735 Days ago
Boost Eclipse speed performances part 2
&160; After the huge success and feedback of my first tips on how to speed eclipse, here are more performances tips, some are obvious some not: Disabled/Exclude the virus scanner for the eclipse directory: while obvious It will or may be difficult to achieve if you're not administrator on your machine (while not impossible) and that may not make some people happy especially security officers ;-) It is obvious that scanning on the fly every resources in a workspace, is …
3831 Days ago
Get a command prompt on any Eclipse project
&160; A very little trick that allow you to quickly run any operation involving a DOS command on an Eclipse project. Go to the external launcher, and create a new configuration. This trick may be useful for running your Maven set of command without any dependencies to M2Eclipse. &160; &160; …
3837 Days ago
All Eclipse Ganymede Shortcuts
Here is the list of all 380 default shortcuts keys for eclipse Ganymede in an easy to print layout (4 pages A4). I recommend you to print a booklet out of it. Nobody on Internet is currently providing such a list, except a sourceforge project but their keys binding is for eclipse 2.1,Others keys binding for eclipse will follows soon. 3rd party plugin shortcuts: Oxygen XML editor Subversive SVN Codehaus M2Eclipse Maven Download as PDF now eclipse.ganymede.shortcuts.keys.binding.pdf …
4012 Days ago
Three Eclipse plug-ins for improving your Java code
A great thing about Eclipse is that you can easily extend it with additional functionality and there are plenty of add-on to choose from. We would like to highlight three free plug-ins that help our Java developers improve their code. &160; Checkstyle improves the readability of Java code by helping developers adhere to coding conventions. Eclipse has powerful auto-formatting capabilities but lacks the ability to warn when coding conventions are not followed. Checkstyle provides configurable rule sets and adds warnings …
4041 Days ago