Jay Taylor | programmer notes

Dec/11

8

HOWTO: Make IntelliJ + Scala run fast/smooth on Mac OS-X

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.

Related posts:

  1. Scala Diaries: Programmatically restoring sanity to sour syntax

RSS Feed

No comments yet.

Leave a comment!

You must be logged in to post a comment.

<<

>>

Find it!