Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA 13 CE consuming lots of CPU

I upgraded from IntelliJ IDEA from 12 CE to 13 CE few days ago and it has been hogging up CPU. Every few minutes it'll peak to 450-500% and then come down to 100-200%. Also, I've upgraded my Scala plugin to 0.30.380. Not sure what's causing the issue!?

like image 654
K P Avatar asked Feb 06 '14 06:02

K P


People also ask

Is IntelliJ CPU intensive?

I have frequent issues with my laptop fans going 100% and other tasks freezing because IntelliJ uses almost 100% of the CPU to reindex, to build the project. Even on small projects.

Why is my CPU usage suddenly so high?

High CPU usage can be indicative of several different problems. If a program is eating up your entire processor, there's a good chance that it's not behaving properly. A maxed-out CPU is also a sign of a virus or adware infection, which should be addressed immediately.

How much RAM should IntelliJ use?

IntelliJ IDEA memory usage Follow IntelliJ itself reports that it is using a little more than 1GB of heap but the OS reports that it is using anywhere from 3.5 to 4.5 GB.


1 Answers

I'm posting this comment by K P as an answer, because K P does not have enough reputation.

It just needed some more memory to prevent repeated garbage collection. I found the file idea.vmoptions [aka idea64.exe.vmoptions] and increased the memory for InteiiJ to run (Xms = 512m and Xmx = 2048). The CPU usage has come down to 0.2 - 10% when nothing is being done on it.

like image 173
ziggystar Avatar answered Sep 18 '22 13:09

ziggystar