scala - Why would sbt reload gen-idea use 6GB of memory? -
i'm using command
sbt reload gen-idea
to build largish (hundreds of thousands of lines of code) intellij scala project.
after 30 minutes+, program autokilled because runs out of memory. checked, , used 6gb before getting killed.
what's going on? can improve this?
sorry can't add more details: know nothing sbt.
thanks
actually using reload iwth sbt useless, cause reload command reloads build configuration in opened sbt session , when r launching sbt command line, automaticaly read last version of config files. time guess that's problem plugin. try add sbt_opts="-xx:+useconcmarksweepgc -xx:+cmsclassunloadingenabled -xx:permsize=256m -xx:maxpermsize=512m"
/.sbtconfig file, limit amount of memory used sbt.
Comments
Post a Comment