I have only one project (an ordinary SpringFramework project) opened. And the IDE is crazy using CPU:
JVisualVM CPU sample:
Note this happened just recently
Any idea?
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.
From the main menu, select Help | Change Memory Settings. Set the necessary amount of memory that you want to allocate and click Save and Restart.
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.
The correct answer was posted by @matt-helliwell if you're coming from a version older than 2016.2
.
File -> Invalidate Caches and Restart
If the above doesn't fix your problem, track this issue: https://youtrack.jetbrains.com/issue/IDEA-157837
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