Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

WSL2: Copilot CLI 1.0.82 consumes ~31 GB RSS and ~57% CPU

未關閉
#4,694 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
活躍
技術堆疊
linux, shell, ubuntu

研究方向

首先,在 WSL2 中使用回報的版本、模型、effort 等級和 agent 風格重現一個長時間執行的 Copilot CLI 工作階段,同時監控 /proc/21178/status 和 ps 輸出。將記憶體和 CPU 的增長與回報的 31 GB RSS 和 57% CPU 進行比較,然後確認資源耗盡問題已獲得解決。

由索引模型根據 Issue 內容生成。

描述

area:platform-linux
Describe the bug

I'm running copilot cli on WSL.
When running a the model Claud Opus 5 on High Effort on a long running session, at about 47% context usage, and with an agent similar to the thinking-beast-mode the cpu consumption went up and the memory consumption exhausted the available.

Can be related with https://github.com/github/copilot-cli/issues/2208?

Affected version

GitHub Copilot CLI 1.0.82.

Steps to reproduce the behavior

Prompted to produce python scripts to perform statistical analysis on text data. Requested a production ready program.

Expected behavior

No response

Additional context

wsl --version

WSL version: 2.7.12.0
Kernel version: 6.18.33.2-2
WSLg version: 1.0.73.2
MSRDC version: 1.2.7214
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26200.9106

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 26.04 LTS
Release:        26.04
Codename:       resolute

copilot --version

GitHub Copilot CLI 1.0.82.

cat /proc/21178/status | egrep 'VmRSS|VmSize'

VmSize: 55347188 kB
VmRSS:  30937176 kB

ps aux --sort=-%cpu | head -20

USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
<redacted>    21178 57.3 94.9 55348468 30936924 pts/2 Sl+ 12:24  93:52 /home/<redacted>/.local/bin/copilot
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
17 小時 6 分鐘
30 天內合併 PR
5

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。