How do I increase the memory available to the Play environment? I am running out of memory after a time while running tests.
In particular, I get this error:
I solved this problem by adding:
javaOptions ++= Seq("-Xmx2048M", "-Xms512M", "-XX:MaxPermSize=2048M")
in Build.scala to the settings.