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, distinguish transformed-module retention from real data leaks, and fix or reduce the impact by patching cleanup logic or isolating hotspot tests.

SafeAI-Lab-X Updated

File contents

SafeAI-Lab-X/ClawKeeper commit a2ab287843

Frequently asked questions

npx get-skill add safeai-lab-x/openclaw-test-heap-leaks-2