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: enter image description here

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 tasklike this: enter image description here

using sbt task intellij use sbt configuration won't able see test results in intellij test result window.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -