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.

iamlukethedev Updated

File contents

iamlukethedev/openclaw-claw3d-mirror/tree/main/.agents/skills/openclaw-test-heap-leaks commit 3a0e9c1a64

Frequently asked questions

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