WSL2: Copilot CLI 1.0.82 consumes ~31 GB RSS and ~57% CPU
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, eine lang laufende Copilot CLI-Sitzung in WSL2 mit der gemeldeten Version, dem gemeldeten Modell, dem gemeldeten Effort-Level und dem gemeldeten Agentenstil zu reproduzieren, während du /proc/21178/status und die ps-Ausgabe überwachst. Vergleiche das Wachstum von Speicher- und CPU-Verbrauch mit den gemeldeten 31 GB RSS und 57 % CPU und bestätige anschließend, dass die Ressourcenerschöpfung behoben ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- linux, shell, ubuntu
- Bereich
- cli, operating-systems, performance
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100