lodestar-heapsnapshots

Community

Debug Lodestar memory leaks.

Authorlodekeeper
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers diagnose and fix memory leaks in the Lodestar Ethereum client by capturing and analyzing heap snapshots from running nodes.

Core Features & Use Cases

  • Heap Snapshot Capture: Remotely trigger Lodestar's REST API to write heap dumps for specific threads (main, network, discv5).
  • Snapshot Analysis: Utilize a bundled Node.js script to compare two heap snapshots, highlighting significant growth in object types and counts.
  • Use Case: When a Lodestar beacon node's memory usage is steadily increasing over time, use this Skill to capture heap snapshots before and after a period of activity, then analyze the diff to pinpoint the source of the leak.

Quick Start

Use the lodestar-heapsnapshots skill to capture a heap snapshot from the network thread of a Lodestar node running on 127.0.0.1:9596 and save it to /tmp.

Dependency Matrix

Required Modules

zstdsha256sum

Components

scriptsreferences

💻 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: lodestar-heapsnapshots
Download link: https://github.com/lodekeeper/dotfiles/archive/main.zip#lodestar-heapsnapshots

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.