IntelliJ and command line runner CPU load high...also causes Anti-virus load to peg
Answered
I got a new machine with Windows 10 yesterday and installed
IntelliJ IDEA 2017.2
Build #IU-172.3317.76, built on July 15, 2017
Licensed to Medhost
JRE: 1.8.0_152-release-915-b5 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Whenever I launch intellij it starts by pegging intellij (during indexing I expect this), but then indexing stops and intellij usage declines and windows command runner starts taking more and more CPU. In addition while intellij is running the CPU load for my anti-virus program spikes as well.
My machine has 16GB RAM and an i7-4610M CPU @3.00GHz
I did not have this problem on my Windows 7 machine
Please sign in to leave a comment.
You can try excluding IDE (https://intellij-support.jetbrains.com/hc/articles/206544519) and project folders from the antivirus.
If IDE itself CPU usage is normal, the issue is not with the IDE.
The command line runner is also pegging the CPU when the IDE just sits there. Each one that gets created is taking 25-40% of the CPU. According to the system runnerw is an intellij file. I will try excluding the IDE from scanning.
What exact process is running under runnerw? Check the parameters using SysInternals Process Explorer.
I went back to
the Jun 2017 release and it was still spiking the CPU and windows processes.
so then I went to
IntelliJ IDEA 2016.1.4
Build #IU-145.2070, built on August 2, 2016
JRE: 1.8.0_141-b15 amd64
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
IntelliJ and related programs do not spike the CPU when sitting there. Additionally the anti-virus program does not go crazy. Something has changed in IntelliJ that is dramatically consuming resources in the 2017 release and cause the AV programs to spike.
There is a lot that has changed in the IDE, including the Java Runtime version, however the issue seems to be specific to your system only as I don't recall any similar reports so far.
Try to check what the runnerw processes are doing as suggested above, it may provide some clues.
See if disabling the antivirus helps.