aws / aws/amazon-q-developer-cli
bug: CPU usage 300%
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
### Operating system
MacOS Sequoia 15.5
### Expected behaviour
Low CPU usage
### Actual behaviour
CPU usage spikes to 300%, runs battery down, laptop gets hot (surprising for an M4 Max). Seems to happen with long running sessions, possibly caused by hitting or exceeding the context window size. Running commands like /compact /save /clear does not resolve the issue, I can only /quit to resolve the issue.
### Steps to reproduce
Lengthy conversation. I have witnessed Q degrade when approaching the max message history and devolve into a loop running the same command over and over in trust mode.
Contributor guide
Assessment
This issue has not been assessed yet.