Skip to content

Instantly share code, notes, and snippets.

@anatolyg
Last active December 20, 2015 03:49
Show Gist options
  • Save anatolyg/6066626 to your computer and use it in GitHub Desktop.
Save anatolyg/6066626 to your computer and use it in GitHub Desktop.
sometimes SBT causes java.lang.outofmemoryerror permgen space error, here's a fix

create new file in your home dir,

.sbtconfig

paste the following into the file:

SBT_OPTS="-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=256M -XX:MaxPermSize=512M"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment