Using JVM options with SBT (the Scala Simple Build Tool)

As a quick note, I just installed SBT onto my new Mac using Homebrew, and at the end it showed this information about how to set JVM options when running SBT, by using the SBT_OPTS environment variable:

$ brew install sbt

You can use $SBT_OPTS to pass additional JVM options to SBT.

For convenience, this can specified in `~/.sbtconfig`.

For example:

    SBT_OPTS="-XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M"

As you can see, that last line shows how to set the SBT environment variable to control SBT memory use.