#2929th of 43 in Code review and testing

memlab

JavaScript memory leak finder using Puppeteer scenarios and heap snapshot analysis

Stars
5.1k
License
MIT
Last commit
Nov 2026
Language
TypeScript
Stars, last 29 weeks+169
22 Apr 2026: 4,922 stars29 Apr 2026: 4,926 stars6 May 2026: 4,933 stars13 May 2026: 4,939 stars20 May 2026: 4,946 stars27 May 2026: 4,950 stars3 Jun 2026: 4,952 stars10 Jun 2026: 4,960 stars17 Jun 2026: 4,965 stars24 Jun 2026: 4,968 stars1 Jul 2026: 4,974 stars8 Jul 2026: 4,983 stars15 Jul 2026: 4,989 stars22 Jul 2026: 4,995 stars29 Jul 2026: 5,000 stars5 Aug 2026: 5,010 stars12 Aug 2026: 5,015 stars19 Aug 2026: 5,018 stars26 Aug 2026: 5,022 stars2 Sept 2026: 5,026 stars9 Sept 2026: 5,036 stars16 Sept 2026: 5,043 stars23 Sept 2026: 5,045 stars30 Sept 2026: 5,052 stars7 Oct 2026: 5,056 stars14 Oct 2026: 5,063 stars21 Oct 2026: 5,071 stars28 Oct 2026: 5,076 stars4 Nov 2026: 5,082 stars11 Nov 2026: 5,091 stars

4,922 on 22 Apr 20265,091 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

memlab runs a Puppeteer scenario against a web page, compares V8 heap snapshots before and after an action, and prints retainer traces for leaked objects. It also offers a heap traversal API, a CLI for analyzing .heapsnapshot files from Chromium, Node.js, Electron and Hermes, and Node.js memory assertions for unit tests. An MCP server and four agent skills let coding assistants investigate snapshots.

Who it is for: Web and Node.js engineers debugging memory leaks and heap growth

Strengths

  • Retainer traces show the reference chain from GC root to each leaked object
  • Reads heap snapshots from Chromium, Node.js, Electron and Hermes
  • Memory assertions run inside Jest-style unit tests and CI
  • Custom leak detectors via a leakFilter callback in the scenario file

Weaknesses

  • Readable traces require non-minified code or readable names on the site under test
  • Scenarios must be hand-written with the Puppeteer API
  • MCP server suggests an 8 GB Node heap setting for large snapshots
  • No tagged release is listed on the repository

What it needs

  • no GPU
  • Needs Node.js 16+, Puppeteer

Also in Code review and testing

See all 43
Also in Code review and testing
RankProjectScore
1playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit100k stars+2,481 (+2.5%) in 30 daysApache-2.094 out of 100
2nxMonorepo build system with task caching, affected-only runs and CI integration29.5k starsMIT93 out of 100
3open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments50k stars+3,413 (+7.3%) in 30 daysApache-2.092 out of 100
#4bendDependent-typed language where AI-written code must prove rules in LAWS.bend Live demo ↗ (opens in a new tab)25k starsApache-2.088 out of 100
#5maestroYAML-based UI and end-to-end test framework for Android, iOS and web16.4k starsApache-2.088 out of 100