facebook/memlab
A framework for finding JavaScript memory leaks and analyzing heap snapshots observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1560
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
5030 stars · 144 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
MemLab is an end-to-end testing and analysis framework from Meta for detecting JavaScript memory leaks and optimization opportunities. It drives browser scenarios via Puppeteer, diffs heap snapshots, and provides programmatic heap traversal APIs plus a CLI toolbox and MCP server for AI assistants.
Use cases
- find memory leaks in a web app
- analyze v8 heap snapshots programmatically
- detect detached DOM nodes and event listener leaks
- write memory assertions in node.js unit tests
- find duplicate strings and oversized objects in the heap
- debug memory leaks interactively in the browser
- let AI coding assistants investigate heap snapshots via MCP
When to choose
- you need automated memory leak detection in browser or node.js apps
- you want to analyze heap snapshots from Chromium, Node.js, Electron, or Hermes
- you want memory regression checks in CI
When to avoid
- you need CPU or network profiling rather than heap analysis
- you work outside the JavaScript ecosystem
Facets
framework · maturity active
testing e2e-testing monitoring benchmarking developer-tools cli mcp developer-tools web-development testing performance frontend cli cross-platform memory-leak-detection heap-snapshot-analysis puppeteer v8 hermes electron memlens performance-analysis nodejs
3 sources
- readme: https://github.com/facebook/memlab · fetched 2026-08-28 · 0b29a9bc10aa
- homepage: https://facebook.github.io/memlab/ · fetched 2026-08-29 · 2223a878f875
- registry_npm: https://registry.npmjs.org/memlab · fetched 2026-08-29 · 17a7a75f0e2b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebook/memlab | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem