High CPU load 100% (one CPU) all the time - Version 2020.2
Answered
One CPU is always at 100%, system is Linux Mint 20.
See attached CPU snapshot
2020_08_06_6TDd3S1nbYuuHvTd
Please sign in to leave a comment.
JPA specific analysis takes a lot of CPU.
Several fixes for this subsystem will be available in the next update (2020.2.1).
Same is the case with me. I am using [kotlin multi module, 2020.2, ubuntu, jdk 14] combination. Even a single character type, results in super cpu usage... Can't just work....! The shot up cpu in the picture is the one used by intellij. Fortuanately because of others, i am able to switch between other windows. The moment I close it, everything goes back to normal.
Unfortunately, idea responds after the cpu comes back to normal. And after that, "Help -> Collect Logs & Diagnostics" will not help. Can someone please guide, how can I send relevant info?
And in the meantime, how can I downgrade the version? (It seems, when I start 2020.1/bin/idea.sh, it still starts the 2020.2 version only. Perhaps because i updated it from in there).
Update: I tried with (freshly downloaded) 2020.1. The problem still persists.
Hi MiKu,
Can you please collect additional information for the investigation?
Please note that the CPU profiling process must be started only when you see performance degradation and stopped immediately after testing. Otherwise, there will be a lot of useless information in the snapshot.
> And in the meantime, how can I downgrade the version? (It seems, when I start 2020.1/bin/idea.sh, it still starts the 2020.2 version only. Perhaps because i updated it from in there).
The previous version can be downloaded from https://www.jetbrains.com/idea/download/other.html.
---
P.S. In case of IDE performance problems, you can write directly to the support team to speed up the problem-solving process and not to mix up several different cases.
Thanks.
Thanks for all the detailed instructions. :) I think I will write the team directly.
Just to inform, "Help | Diagnostic Tools | Start/Stop CPU Usage profiling" is not helping because the IDE/App itself freezes, forbidding me to even go to the help menu. However, it seems Idea is smart enough to create the thread dumps when it freezes (in the same logs folder). That will be a good start I think.
And, I tried with 2019.3 version and it seems, the problems with that version is much less severe. I mean, it still freezes at times (shooting the cpu up, etc.) but for a shorter spans, unlike in case of 2020.1 or 2020.2 version.
> Just to inform, "Help | Diagnostic Tools | Start/Stop CPU Usage profiling" is not helping because the IDE/App itself freezes, forbidding me to even go to the help menu. However, it seems Idea is smart enough to create the thread dumps when it freezes (in the same logs folder). That will be a good start I think.
Yes, if the UI doesn't respond our performance plugin will automatically generate thread dumps. Here is a detailed manual https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems.
Feel free to send the IDE logs to our support team.
Thanks Egor. The link is quite helpful. :)
Same on macos big sur 11.6 with PhpStorm 2012.2.2. Most of the time 100% load. At the same time if look into background tasks menu in IDE - there are empty, absolutely nothing, zero.
Here is also CPU load when Phpstorm is going crazy. All latest peaks caused by IDE.

Please provide the CPU snapshot.
I have the same - or worse - problem on an M1 Max Macbook Pro, just running an idle Ruby project. CPU is sitting at 150-170% pretty much all the time, all day, every day.
MacOs 12.4 Monterey, fully up to date. IntelliJ IDEA 2022.11 (Ultimate Edition) Build #IU-221.5591.52, built on May 11, 2022
Nello
Are you running the Apple Silicon or Intel version of the IDE?
Does it make a difference if you disable all non-bundled plugins and restart the IDE? Preferences | Plugins | ⚙️ | Disable all downloaded plugins
If it doesn't, please create a new report at https://youtrack.jetbrains.com/newIssue?project=IDEA and attach the following information to it: