Openclaw Test Heap Leaks

Investigate `pnpm test` memory growth, Vitest worker OOMs, and suspicious RSS increases in OpenClaw using the `scripts/test-parallel.mjs` heap snapshot tooling. Use when Codex needs to reproduce test-lane memory growth, collect repeated `.heapsnapshot` files, compare snapshots from the same worker PID, triage likely transformed-module retention versus likely runtime leaks, and fix or reduce the impact by patching cleanup logic or isolating hotspot tests.

ProtocolSage 3a0e9c1 3 files · 20.0 KB Updated

File contents

ProtocolSage/openclaw/tree/main/.agents/skills/openclaw-test-heap-leaks commit 3a0e9c1a64

Frequently asked questions

npx skillmds@latest add protocolsage/openclaw-test-heap-leaks