How can I allocate more PermGen space to Scala through my Build.scala
file? I need this because our application has a large number of tests (written in Specs2) and a much larger number of generated classes, which is causing the following error to be thrown:
[error] ! spec spec spec spec
[error] ThrowableException: PermGen space (TraversableLike.scala:244)
[error] sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)