Configuring Eclipse

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 6. over 1 year by milessabin
  2. 5. over 1 year by milessabin
  3. 4. about 2 years by d6y
  4. 3. about 2 years by d6y
  5. 2. about 2 years by d6y
  6. 1. about 2 years by d6y
 

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 will most likelymight not be adequate for the job.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