I am using SBT 0.12.0. I have read other answers on stack overflow and followed them, however none of them helps, for example:
ForkRun
A quick way to do it is with a .jvmopts file in the root of your project (from the Lagom Framework documentation):
.jvmopts
$ cat .jvmopts -Xms512M -Xmx4096M -Xss2M -XX:MaxMetaspaceSize=1024M