How to prevent java.lang.OutOfMemoryError: PermGen space? [duplicate]
This sometimes happens if you compile huge codebases – a lot of classes get loaded into the VM running sbt. You need to increase the PermGen space for sbt – use the flag -XX:MaxPermSize=256m, where 256 you can change with the desired size of the permanent generation. Run: cat `which sbt` to locate you sbt … Read more