openclaw-test-heap-leaks

Analyze heap snapshot deltas to diagnose memory growth in OpenClaw PNPM test runs.

5|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/p-sree-sai-pavan/P.A.R.K.E.R --skill openclaw-test-heap-leaks-p-sree-sai-pavan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openclaw-test-heap-leaks
Source: https://github.com/p-sree-sai-pavan/P.A.R.K.E.R/tree/main/gateway/.agents/skills/openclaw-test-heap-leaks
Command: npx skills add https://github.com/p-sree-sai-pavan/P.A.R.K.E.R --skill openclaw-test-heap-leaks-p-sree-sai-pavan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Investigate and triage memory growth, OOMs, and heap-snapshot deltas in OpenClaw pnpm test runs to reduce unstable test behavior.

Core Features & Use Cases

  • Heap snapshot delta analysis to identify retained objects and growth patterns.
  • Automated pairwise snapshot comparison per PID to surface dominant deltas and retention signals.
  • Guidance for triaging leaks across unit-fast lanes, workers, and shared contexts in OpenClaw test suites.

Quick Start

Run the memory-diagnosis workflow on a failing lane to generate paired heap snapshots and review the top delta entries.

Frequently Asked Questions about openclaw-test-heap-leaks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose Vitest memory leaks in PNPM test runs?

Diagnose Vitest memory leaks by capturing pairwise heap snapshots during PNPM test runs and analyzing the delta entries to identify dominant retention categories and retained objects.

What is the best way to analyze heap snapshot deltas for OOM issues in unit-fast lanes?

Analyzing heap snapshot deltas for OOM issues involves comparing paired snapshot JSON files per PID to detect delta entries above a threshold and surface dominant memory growth patterns in unit-fast lanes.

Can I use heap snapshot comparison to triage shared worker memory growth?

Yes, you can use heap snapshot comparison to triage shared worker memory growth by reviewing retention signals and dominant deltas across shared contexts in OpenClaw test suites.

How do I detect retained objects causing unstable test behavior in Vitest?

Detect retained objects causing unstable test behavior by running a memory-diagnosis workflow that outputs before and after snapshot paths, PID, and dominant retention categories for further triage.

What do I need to generate pairwise heap snapshots for memory triage?

Generating pairwise heap snapshots requires running the memory-diagnosis workflow on a failing OpenClaw PNPM test lane to capture the before and after states needed to review top delta entries.