# bnoordhuis/node-heapdump

Make a dump of the V8 heap for later inspection.

Repository: https://github.com/bnoordhuis/node-heapdump
Canonical: https://ross.abutalabs.com/products/node-heapdump
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2022-04-08T11:07:00+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5136, "days_push": 1608, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2548, forks 128 (observed 2026-08-28T04:07:00.376581+00:00)

## What it is
A Node.js native add-on that writes V8 heap snapshots to disk for later inspection in Chrome DevTools. Snapshots can be triggered programmatically or via a SIGUSR2 signal on Unix systems.

## Use cases
- debug memory leaks in node.js apps
- capture v8 heap snapshot at runtime
- inspect node process memory usage in chrome devtools
- trigger heap dump via signal on production server
- find retained objects causing high memory

## When to choose
- you need on-demand heap snapshots from a running Node.js process
- you want to analyze memory leaks with Chrome DevTools
- you need a signal-triggered dump without restarting the app

## When to avoid
- you are on modern Node.js with built-in heap snapshot APIs (v8.getHeapSnapshot / inspector)
- you need continuous memory monitoring rather than point-in-time dumps
- your heap is very large and you cannot afford the 2x memory overhead or the synchronous hitch

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools, monitoring, tracing
- domain: developer-tools, performance
- platform: windows
- tags: v8, heap-snapshot, memory-profiling, memory-leaks, native-addon, debugging, nodejs, linux, macos

## Member repositories
- bnoordhuis/node-heapdump (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:00.376581+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:24:33.022871+00:00, confidence not recorded.
  - readme: https://github.com/bnoordhuis/node-heapdump (fetched 2026-08-28T04:07:00.376581+00:00, sha 59800bb2699a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
