bug: Amazon Q on CLion (IntelliJ) (v3.78.251) is unusable on a massive codebase
Checks
- [x] I have searched github.com/aws/amazon-q-developer-cli/issues and there are no duplicates of my issue
Operating system
Ubuntu 24.04
Expected behaviour
I can chat with Q, and it responds in a reasonable time.
Actual behaviour
IDE often freeze and become unusable. Even when it doesn't freeze, asking Q any question in the chat window results in endless "Thinking" animation. Surprisingly, inline chat does work on highlighted chunks of code, but always result in some kind of exception whether the changes are accepted or rejected. That error doesn't impact the result though - the changes are still applied correctly if accepted.
When the IDE freezes, Inspecting system resources using htop reveals that a thread named Amazon Q (Workspace Index Helper) is running at 100% CPU.
Killing this thread un-freeze the IDE but triggers an internal error.
NOTE! "Workspace Index" is disabled in the settings, but that doesn't seem to help.
Steps to reproduce
Background:
My project is a gargantuan codebase of 100+GB.
Most of this size is irrelevant: huge .git directories and out/ directory for build artifacts that can grow to hundreds of GBs.
My IDE is already configured to exclude the non-code directories using "Mark Directory As -> Excluded".
"Workspace Index" is disabled in the plugin settings.
Thanks for reporting this!
This issue appears to be related to the Amazon Q JetBrains plugin, not the Q CLI. We recommend filing it in the following repository where the plugin is actively maintained:
👉 https://github.com/aws/aws-toolkit-jetbrains/issues
The team there will be better equipped to investigate performance issues specific to CLion and large workspaces. Thanks again!
Thanks @evanliu048 I wasn't sure if this was the right project but I couldn't see anything more appropriate. I'll close this one and report there.