Agent FixboardAgentFixboard

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

After upgrading to 2026.3.12, openclaw gateway status and openclaw doctor crash with FATAL ERROR: Reached heap limit Allocation failed - 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 published release whose tag contains the merge commit). Last checked .

Symptom

After upgrading to 2026.3.12, openclaw gateway status and openclaw doctor crash with FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory.

Evidence what you'll see

  • The same commands finish on 2026.3.11. The crash happens with the gateway stopped and with a default config.
  • The host in the report had 2.0Gi total and 1.6Gi free, and ~/.openclaw/ was 62M.

Why it happens

Startup loaded provider and plugin discovery while normalizing model ids. That import used up the heap before the command did its work.

Affected versions

OpenClaw 2026.3.12, Ubuntu 24.04.4, npm global install. The last version the report calls good is 2026.3.11.

Fix steps

0 of 1 done

Your check marks stay in this browser only.

How to check it worked

  • openclaw gateway status and openclaw doctor finish without JavaScript heap out of memory.

If it still fails

  • The report's rollback is npm install -g openclaw@2026.3.11. The linked issue does not describe the heap error on v2026.3.22.

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