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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -