VM options

Hello Folks,

What's the best VM options to use for Scala development?  E.g., best GC, heap size etc.  I've got 4gb and 4 cores.  roughly 1-2gb is reserved for development.

Please share settings for both 32bit and 64bit VMs.

if it helps.  my 32bit vm is jdk1.6.0_13

and the 64bit is

% java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)


My VMOptions (for 32bit vm):

And it's enough for responsive IDE. My recommendation to remove all other VMOptions, especially if it's related to YourKit agent profiler.

Best regards,
Alexander Podkhalyuzin.