Tuesday, August 19, 2008

Performance Tuning for Eclipse Ganymede

As a java developer I am using Eclipse at work. By adopting to Eclipse Ganymede some days ago, we encountered serious performance issues, especially while the workspace was compiling. The complete IDE was blocked while building the sources, even on a dual core system with 4 GB RAM.
After googling a while, we found out a combination of VM parameters that seem to work fine. Here's what is currently running on my machine (a dual core with 3 GB RAM): __path_to_eclipse__ -showlocation -vm __path_to_java_6_vm__ -vmargs -Xms1024m -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=512m -Dide.gc=true -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent
With this configuration, I am able to work while the thousands of projects are compiling happily in the background. ;-)
What are your experiences using Eclipse as a Java IDE concerning performance?

No comments: