aws / aws/amazon-q-developer-cli

bug: CPU usage 300%

Open
#1,994 1 comment 0 reactions 0 assignees View on GitHub
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.

Image

Image

### 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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.