scala - Set intellij VM parameters in sbt -
my tests requiring lot of memory, , fail on oom if run them plainly.
i'm using intellij run tests, , if set vm parameters, tests pass:
i set options sbt, won't dependent on intellij configuration, can't seem make work
this tried:
fork := true javaoptions ++= seq("-xmx2g", "-xx:maxpermsize=1g", "-x:+cmsclassunloadingenabled")
but doesn't have affect, , i'm still getting oom errors.
am using wrong?
intellij won't read sbt config if execution tests intellij.
instead add new sbt task
like this:
using sbt task intellij use sbt configuration won't able see test results in intellij test result window.
Comments
Post a Comment