[BUG] High memory usage warning shows incorrect memory (13GB+) on WSL2

Resolved 💬 3 comments Opened Mar 12, 2026 by sanama2495 Closed Mar 15, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Describe the bug
High memory usage warning appears immediately after /clear, showing 13GB+
usage. However, Windows Task Manager shows VmmemWSL is only using
~2-3GB, indicating the reported value is incorrect.

Steps to reproduce

  1. Run Claude Code on WSL2 (Windows 11)
  2. Execute /clear
  3. Within seconds, warning appears: High memory usage: 13.38G / #helpdesk

Expected behavior
Memory warning should reflect actual memory usage, or not appear when
actual usage is within normal range.

Actual behavior
Warning fires immediately after /clear despite VmmemWSL showing only
~2-3GB usage. The reported value (13GB+) does not match actual system
memory consumption.

Environment

  • OS: Windows 11 + WSL2
  • Shell: zsh

What Should Happen?

Memory warning should not appear when actual system memory usage
(VmmemWSL) is within normal range (~2-3GB). If a warning is shown, it
should reflect actual memory consumption, not an inflated value.

Error Messages/Logs

High memory usage: 13.38G / #helpdesk

Steps to Reproduce

  1. Run Claude Code on WSL2 (Windows 11)
  2. Execute /clear
  3. Within a few seconds, warning appears: "High memory usage: 13.38G /

#helpdesk"

  1. Check Windows Task Manager → VmmemWSL shows only ~2-3GB

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.74

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗