Skip to content

[Bug]: Update to v2026.3.12 fails with "JavaScript heap out of memory" during completion cache #45065

@glassrun

Description

@glassrun

Bug type

Regression (worked before, now fails)

Summary

During openclaw gateway update to version 2026.3.12, the following errors occurred:

  1. Completion cache update failed with OOM error:
Completion cache update failed (<--- Last few GCs --->

[87516:0x28766000] 55703 ms: Mark-Compact 981.0 (1007.2) -> 980.3 (1005.4) MB, pooled: 2 MB, 1354.61 / 0.00 ms (average mu = 0.064, current mu = 0.004) allocation failure; GC in old space requested

<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
  1. Gateway refresh failed after the update:
Failed to refresh gateway service environment from updated install: Error: updated install refresh failed

Environment:

  • OS: Linux (Debian)
  • Node: v22.22.1
  • Version: 2026.3.11 → 2026.3.12

Suggested labels: bug, update, memory

Steps to reproduce

Update from 2026.3.11 to 2026.3.12 on a 2GB RAM VM

Expected behavior

Update should complete without OOM errors.

Actual behavior

Update completes but completion cache update fails with heap memory error, and gateway refresh also fails. Service eventually restarts but completion cache may be in a corrupted state.

OpenClaw version

2026.3.12

Operating system

Debian

Install method

No response

Model

minimax m2.5

Provider / routing chain

kilocode -> minimax m2.5

Config file / key location

No response

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions