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

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -