Forking tests fail because javaOptions seems to be misconfigured
问题 Using Play 2.X, I expect my tests to be forked by default (new way from Play 2.X) and especially well run. However, when using this SBT configuration in my Build.scala , I observe an OOM due to permgen space, like the following: Uncaught exception when running myspecs.AllSpecs: java.lang.OutOfMemoryError: PermGen space sbt.ForkMain$ForkError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:791) at java.security