deco-site-memory-debugging
OfficialDebug memory in Deco sites via CDP.
System Documentation
What problem does it solve?
Debug memory issues on Deno/Fresh Deco sites deployed in Kubernetes or Knative environments by connecting to running pods via the Chrome DevTools Protocol (CDP) to inspect heap usage, ArrayBuffers, response leaks, and native memory. This Skill guides GC analysis and V8 heap tuning to determine whether memory pressure is due to a leak, lazy GC, or runtime overhead.
Core Features & Use Cases
- Connect to a pod's inspector via CDP and gather memory metrics (Deno.memoryUsage, HeapProfiler commands).
- Force garbage collection and compare memory usage before and after to distinguish leaks from lazy GC.
- Inspect common memory culprits like Response bodies, ArrayBuffers, SSR caches, and native allocations to pinpoint growth vectors.
- Provide step-by-step workflows for diagnosing memory issues in Deco site deployments on Kubernetes/Knative.
Quick Start
Identify a pod's memory issue by enabling CDP, force garbage collection, and analyze Deno.memoryUsage results to differentiate leaks from lazy GC.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: deco-site-memory-debugging Download link: https://github.com/decocms/deco-start/archive/main.zip#deco-site-memory-debugging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.