google-gemini / google-gemini/gemini-cli

Memory crash due high memory usage

Open
#28,357 4 comments 0 reactions 0 assignees View on GitHub
area/core effort/large kind/bug priority/p1 Stale status/bot-triaged
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

### What happened?

[ACTION REQUIRED] 📎 PLEASE ATTACH THE EXPORTED CHAT HISTORY JSON FILE TO THIS ISSUE IF YOU FEEL COMFORTABLE SHARING IT.

### What did you expect to happen?

[bug-report-history-1783784298347.json](https://github.com/user-attachments/files/29926987/bug-report-history-1783784298347.json)

### Client information

* **CLI Version:** 0.50.0
* **Git Commit:** 8d9733d53
* **Session ID:** 0dba6383-a5d0-4102-aefb-27dcb2196ad7
* **Operating System:** linux v22.22.2
* **Sandbox Environment:** no sandbox
* **Model Version:** gemma-4-31b-it
* **Auth Type:** gemini-api-key
* **Memory Usage:** 7.08 GB
* **Terminal Name:** VTE(8400)
* **Terminal Background:** #1c1c1f
* **Kitty Keyboard Protocol:** Unsupported

### Login information

_No response_

### Anything else we need to know?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the memory crash in CLI version 0.50.0 using the attached exported chat history JSON and the reported Linux environment. Inspect the behavior around the 7.08 GB memory usage; done means the same workload no longer crashes or reaches excessive memory usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.