I've just updated my IntelliJ IDEA to latest 12.1 version and I found my laptop CPU usage become 100% from time to time, monitor the progress manager I found IDEA fork an new Java process regularly and it runs for several tens of seconds and shutdown. During that time the CPU usage is close to 100%:
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. You need to add an option to limit the CPU usage, as it is now, it's not usable on a laptop.
If the CPU usage is around 100%, this means that your computer is trying to do more work than it has the capacity for. This is usually OK, but it means that programs may slow down a little. Computers tend to use close to 100% of the CPU when they are doing computationally-intensive things like running games.
Intellij Idea consumes all 8GB memory allocated for it after upgrading to 2021.1. Intellij Idea consumes all 8GB memory allocated for it after upgrading to 2021.1.
When Pycharm performs some operations such as indexing, it starts draining the entire CPU resources. While this may achieve the operation faster, it heats up the CPU resulting in the fan running at full speed, and the other application becoming non-responsive.
Chances are the external build mentionned by @CrazyCoder compiles your project automatically when you make changes to your source files. If it annoys you too much, you can disable automatic compilation in File > Settings > Compiler > Make project automatically
(uncheck the box).
I had the IDEA 12 process itself (not a forked Java) occupy 100%, and respond very slowly to keypresses, navigation, etc.
Eventually I resolved this by cleaning out the cache, prefs, Application Support dir, etc and uninstalling/reinstalling IDEA 12. You have to reinstate your preferences and let Idea reindex your projects (due to removing its cache) - but this shouldn't take long.
Here's a list of some places to clean on OS X (slightly out of date for IDEA 12, but a useful starting point).
I am using IntelliJ 13 Community Edition and have found this problem on Linux. It my case it is the Intelli JBehave plugin causing these issues.
When opening a dialog the CPU usage of the Java process drops right back to 5 to 10% percent. When disabling the plugin the same is true.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With