AI Assistant Plug Causes High CPU Utilization
GoLand 2025.2.2
JetBrains AI Assistant 252.26199.206
Every time I execute an AI Chat (example: How do I use variables in a Go logging statement) (I'm using the Claude 4 Sonnet model), my CPU utilization jumps over 100% and stays there until I close the GoLand application. If I restart the application CPU is in the 1 - 5% range until I use the AI Assistant again.
Any setting I should modify to try to alleviate this issue?
请先登录再写评论。
Hi Scotcurry4 ! Thank you for your question. Tested this with 2025.2.3 version and had no issue. Could you please try upgrading and see if this helps? If not, I'd kindly ask you to answer the following:
Thank you!
Hi Vadym, I have the same problem with GoLand and WebStorm 2025.2.3.
The issue occurs regardless of the size of the project. I have uploaded the diagnostic files for WebStorm here: 2025_10_10_eV1i6iwEWLg4cGF69utw9e.
Thank you!
Here's another interesting observation. My CPU only spikes when the code example dialog box is visible. As soon as I scroll up to a location where the code example dialog box is off the screen my CPU utilization goes back to “normal.” I've included screenshots to hopefully clarify what I mean.
I am seeing something very similar in CLion 2025.2.3 with AI assistant 252.26830.83. When I open the AI window with a new chat, everything is fine. After there is a bunch of content, or I bring up an old conversation, the CPU utilization goes up. The display manager (xorg or wayland, I have tried both) hits ~130%, and clion hits 30% just sitting there. As soon as I close the AI assistant window the CPU utilization drops.
This, same exact symptoms and workaround, except the cpu hogs in my case are clion and gnome-shell. Scrolling the code content box out of the view makes both clion and gnome-shell cpu utilization drop to nearly zero.
I experience the same issue with PyCharm 2025.2.3 and Idea 2025.2.3.
The problem is not present in 2025.1.5 version.
The process which takes 100% of a core is
Xwayland.I second Scotcurry's observation that it disappears when a code segment is out of view (or AI Assistant is closed)
I opened an issue in Fedora but the conclusion was that this is a probem on Idea side
My spec:
Hey everyone,
Thanks a lot for bringing this issue to our attention and for sharing the detailed information!
Based on your description, I believe you’ve encountered this known issue:
LLM-20308 [2025.2.2 - 2025.2.3] High GPU usage when AI chat is open and contains a conversation
We’ve identified the root cause, and the fix will be included in the 2025.2.4 release (expected in about two weeks)
The issue mentions 100% usage of GPU. This thread is about CPU. How come it's the same?
I logged in to report the same issue - looks like they just released an update to AI Assistant to fix it (available now).
It was fixed in last release, latest release again introduced the same issue, this time is not going to static 100% but it is almost constant 80% and the whole IDE freezes. @Scotcurry4 observations hold true for me as well. The issue is worsens with increase in context of a single chat.
The issue is worsens with increase in context of a single chat.
Thank you for the report and sorry to hear you faced issues while using our IDE. Could you please try reproducing the issue once more and share IDE logs (Help | Collect Logs and Diagnostic Data) created after the problem appears with us? It will help us to start the investigation process.
Thank you!
The issue is worsens with increase in context of a single chat.
Thank you!
Thank you!
Thank you!
Thank you!
I understand the symptoms; however, logs could show us what exactly is happening with the application and what specific component is to blame. Please share the logs with us when you have a chance.
Thank you!
Thank you for reaching out and reporting this.
We understand this significantly impacts your development experience.
High CPU usage when using AI Assistant features is a known issue that our team is actively investigating. We recommend updating both your IDE to the latest version and the AI Assistant plugin, as recent releases include performance improvements.
If the issue persists after the updates please provide the following diagnostic information:
1. AI Assistant debug logs: Follow the instructions here: How to collect IntelliJ IDE logs for AI Assistant troubleshooting https://youtrack.jetbrains.com/articles/SUPPORT-A-75/How-to-collect-IntelliJ-IDE-logs-for-AI-Assistant-troubleshooting
2. A CPU snapshot: Capture a CPU snapshot during the high CPU usage by going to Help | Diagnostic Tools | Start CPU Usage Profiling and stopping it once the slowdown finishes.
Best regards,
Vladimir