gemini-cli - 💡(How to fix) Fix Slowdown after passing 10% context [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#25264Fetched 2026-04-14 05:56:26
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
labeled ×2commented ×1
RAW_BUFFERClick to expand / collapse

What happened?

As title says, after passing 10% context, there is a great slowdown in Gemini operations, forcing me to clear the context

What did you expect to happen?

No slowdown for such a little amount of context used

Client information

  • CLI Version: 0.37.1
  • Git Commit: 3b2d4f100
  • Session ID: 8b785a0e-81fc-4328-b64c-a1b37382b2a3
  • Operating System: darwin v25.9.0
  • Sandbox Environment: no sandbox
  • Model Version: auto-gemini-3
  • Auth Type: oauth-personal
  • Memory Usage: 223.1 MB
  • Terminal Name: Unknown
  • Terminal Background: #212734
  • Kitty Keyboard Protocol: Unsupported

Login information

Google Account

Anything else we need to know?

No response

extent analysis

TL;DR

The slowdown in Gemini operations after passing 10% context may be related to memory usage or context handling, and clearing the context resolves the issue.

Guidance

  • Investigate memory usage patterns to see if the 223.1 MB usage is a contributing factor to the slowdown.
  • Review the Gemini operations documentation to understand how context is handled and if there are any recommendations for managing context size.
  • Consider testing with a smaller context size to see if the slowdown occurs at the same percentage.
  • Check if there are any known issues or updates related to the auto-gemini-3 model version that may be causing the slowdown.

Notes

The provided information does not give a clear indication of the root cause, and further investigation is needed to determine the exact cause of the slowdown.

Recommendation

Apply workaround: Clear the context when approaching the 10% threshold to prevent slowdowns, while investigating the root cause of the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING