Jay Taylor | programmer notes

Archive for December 2011

HOWTO: Make IntelliJ + Scala run fast/smooth (i.e. without lockups) on Mac OS-X (This worked for me on both Leopard [10.6] and Lion [10.7]).

Technical Specs:
2011 15″ MBP w/ a normal 750G HDD and 8GB of RAM

Instructions:

Edit the Info.plist for IntelliJ:

vi /Applications/IntelliJ\ IDEA\ 10\ CE.app/Contents/Info.plist

Find the following line:

      <key>VMOptions.x86_64</key>

And then edit the line below to look like so:

      <string>-Xss2m -Xmn128m -Xms512m -Xmx2048m -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=64m -XX:+UseCompressedOops</string>

After I did this, the performance on the Scala plug-in became acceptable.

No tags Hide

Find it!