Skip to content

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

Description

@stark-antonio-almeida

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions