AgentFixboard

CLI runs out of memory on basic commands like gateway status after upgrading

After upgrading to 2026.3.12, simple commands such as openclaw gateway status and openclaw doctor crash with JavaScript heap out of memory.

From GitHub

openclaw/openclaw

Difficulty
Easy
Time
~5 min
Steps
1
Fixed in
v2026.3.22
Last checked

Verified fix: PR #46522 merged on . Fixed in v2026.3.22 (first stable release containing the merge commit). Last checked .

Symptom

After upgrading to 2026.3.12, simple commands such as openclaw gateway status and openclaw doctor crash with JavaScript heap out of memory.

Evidence what you'll see

  • JavaScript heap out of memory
  • Even the simplest CLI commands crash
  • Worse on machines with little memory

Cause

Startup code imported a module only to normalize model IDs, and that import pulled in full provider and plugin discovery, which used up the heap.

Fix steps

0 of 1 done

Your check marks stay in this browser only.

Verify the fix worked

  • Run openclaw gateway status and openclaw doctor and confirm both finish without a heap error.

Sources and credit

Summarized in our own words from these public reports. Credit goes to their authors.

Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change

Hit an error we don't cover? Submit it