Created
July 6, 2012 20:49
-
-
Save angeloh/3062666 to your computer and use it in GitHub Desktop.
Pass JVM options to sbt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat ~/.sbtconfig | |
SBT_OPTS="-XX:+CMSClassUnloadingEnabled -XX:PermSize=128M -XX:MaxPermSize=256M" |
I add this to ~/.profile
like below:
export SBT_OPTS="-XX:+CMSClassUnloadingEnabled -XX:PermSize=128M -XX:MaxPermSize=256M $SBT_OPTS"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe add $SBT_OPTS at the end so that you can also pass some one-timer ones via export SBT_OPTS