Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij-idea 12 Scala support : it consumes almost 300% of my cpu resources

I recently bought the latest version of Intellij idea (during their 75% off offer) which is really great by the way.

I have a problem though : the scala support seems to be broken. I have installed the scala support plugin with the SBT plugin. I have also installed the Play!2 framework support plugin but as soon as I open a scala file from within the IDE, it consumes almost 300% of my cpu resources and I can't figure out how to solve this issue.

has anybody experienced this issue on their IDE?

like image 215
kaffein Avatar asked Dec 24 '12 19:12

kaffein


1 Answers

I have the same problem, but I may find the cause: the memory given to idea is too small. then idea is always doing gc.

what to do: find idea.vmoptions file, add xms to 1500m, and now it works fine for me.

like image 183
诺 铁 Avatar answered Nov 15 '22 20:11

诺 铁