Configuring Eclipse

The Scala compiler, standard library and Scala IDE projects require a lot of resources to build in Eclipse and Eclipse's default configuration for your platform might not be adequate. It is recommended that you either add the following arguments to the command line that you use to launch Eclipse,

-vmargs -server -Xms256m -Xmx1024m -Xss1M -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC

or add the following to end of the eclipse.ini or config.ini that Eclipse launches with,

-vmargs
-server
-Xms256m
-Xmx1024m
-Xss1M
-XX:MaxPermSize=256m
-XX:+UseConcMarkSweepGC

Please note that this implies that you should have at least 2G of physical memory on any machine you intend to do Scala IDE for Eclipse development on.

If you are using a recent Oracle JVM you might also find it beneficial to add,

-XX:+UseConcMarkSweepGC

and if you are using the Oracle 64 bit JVM you should also add,

-XX:+UseCompressedOops