High CPU usage with IntelliJ on windows starting May first week

Answered

Hello,

All of a sudden, there is high cpu usage while running java application in debug mode since May first week. No changes to the version in use, no changes/additional applications on the windows machine as well. The java application takes more time to start and even when it has started, it won't respond properly. 

Has anyone noticed any similar issues and any solutions/suggestions from anyone? 

Version being used: IntelliJ IDEA Community Edition 2025.1.1.1
Same issue for older version tested: IntelliJ IDEA Community Edition 2021.1.3
 

3
5 comments

Hello,

To identify whether it is an IDE issue or there is a performance problem in the application you're developing, please provide a bit more details

- What process consumes most of the CPU resources in the OS task manager when the problem is reproduced? Is it an IDE process, or your application itself?

- If CPU resources are consumed by the IDE, please record a CPU snapshot

  • Restart the IDE, and reproduce the problem
  • Help | Diagnostic Tools | Start CPU Usage Profiling
  • Profile the IDE for 2-3 minutes while the CPU usage is high. Please do not perform any other actions to collect only relevant frames
  • Help | Diagnostic Tools | Stop CPU Usage Profiling

Upload a CPU snapshot along with the IDE logs collected via `Help | Collect Logs and Diagnostic Data` at https://uploads.jetbrains.com , and share an UploadID

Thank you!

1

Hello, 

same issue here with Windows 11 and IntelliJ IDEA Ultimate Edition 2025.1.1.1

The CPU spikes and the IDE is lagging, scrolling files and work in general is impossible.

 

This is a CPU snapshot taken during a spike: 2025_06_06_29jacJV7pT3xv8vz3mpFU2

let me know if you see or need something more.

Thanks

1

Could you set following JVM option `-Dawt.mac.flushBuffers.pwm=true` in Help | Edit custom VM options and restart to check if it helps. 
If it doesn’t, please add `-Dsun.java2d.metal=false` in "Help | Edit Custom VM Options" and restart the IDE.

0

Sorry are this commands specific for MacOS? My problem, as specified, is Windows 11 related.

0
Thanks for clarifying. I see the highest CPU time around 18 seconds with rendering, but it may not be enough to conclude the continuous lags mentioned.  
Could you raise a ticket(https://intellij-support.jetbrains.com/hc/en-us/requests/new) with the following data so we can debug the issue further: 
- Temporarily disable all downloaded plugins and restart the IDE: File | Settings (Preferences) | Plugins | ⚙ | Disable all downloaded plugins. Check if it
- Generate an Idea logs zip. using Help | Collect Logs and Diagnostic Data... This should help us understand other plugins and exceptions involved.
0

Please sign in to leave a comment.