Signal Garden

开发者工具DEVELOPER TOOLS· CODING-AGENT

memlab

meta/memlab

Memlab 自动找出 JavaScript 内存泄漏,帮你定位卡顿根源。A JavaScript memory leak detector that analyzes heap snapshots and works with AI coding assistants.

根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.

适用平台Platforms
claude-code · windsurf · opencode · copilot
已识别的要求Documented requirements
未确认Not confirmed
许可LICENSE
MIT

每周一 1 封:本周热度最高的 10 个 GitHub 新项目。免费,随时退订。One email each Monday: the 10 hottest new GitHub projects this week. Free, unsubscribe any time.

订阅即表示你同意我们按隐私政策发送每周一周刊。我们会记录这次订阅的来源页面和活动标签,这条记录不包含 IP 地址。Subscribing means you agree that we email the Monday weekly digest as described in the privacy policy. We record the referring page and campaign tag for the signup, and that record does not include an IP address. 隐私政策Privacy Policy

Featured on Signal Garden
徽章主题Badge theme

能力CAPABILITIES

它能帮你做成什么What it helps you do

  1. 01

    找出网页里的内存泄漏

  2. 02

    查看堆快照定位泄漏源头

  3. 03

    分析未绑定对象的内存占用

  4. 04

    追踪特定对象的内存引用路径

  5. 05

    在测试中验证对象能被回收

  1. 01

    Find memory leaks with a single command

  2. 02

    Visualize heap object references and traces

  3. 03

    Write custom leak detection scenarios

  4. 04

    Run memory assertions in unit tests

  5. 05

    Analyze heap snapshots from browser or Node.js

上手GET STARTED

怎么装How to install

NPM · Node.js
npm install -g memlab

选择与你的环境对应的方式。命令来自项目文档,未运行实测。Choose the option for your environment. Commands come from project documentation and have not been run-tested.

打开项目文档Open project documentation ↗

使用限制LIMITATIONS

限制与风险Limits and risk

以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。Risk here is evidence, not an alarm. These findings come from static scanning of the docs; we never execute a project’s code.

限制LIMITS

需检查Needs review

01需要 API KeyREQUIRES API KEY
未在文档中发现Not found in the docs
02需要本地环境NEEDS LOCAL RUNTIME
未在文档中发现Not found in the docs
03需要 DockerNEEDS DOCKER
未在文档中发现Not found in the docs
04难度DIFFICULTY
一键安装One-click install
05许可LICENSE
MITMIT
06阶段STAGE
持续活跃Active
创建于 26 MAY 2022Created 26 MAY 2022

静态扫描STATIC SCAN

  • 01控制浏览器Controls a browserreadme

    - **Browser memory leak detection** - Write test scenarios with the Puppeteer
  • 02控制浏览器Controls a browserplugins/memlab/skills/memlab-capture-heap-snapshots/SKILL.md

    **From Puppeteer or Playwright test code** (Chromium only): use a CDP session.

静态扫描发现一个中等风险:该工具能控制浏览器(通过 Puppeteer 编写测试场景)。使用时请注意,它可能会自动操作浏览器,确保在受控环境中使用。A static scan flagged a medium risk: Memlab controls a browser via Puppeteer for memory leak detection. This is expected behavior, but review the code if you have security concerns.

项目动态PROJECT ACTIVITY

它现在处在什么位置Where it stands right now

首次发现FIRST SEEN

03 OCT 202603 OCT 2026

增长GROWTH

+0.4%+0.4%

5.1k → 5.1k stars · 31 个快照5.1k → 5.1k stars · 31 snapshots

状态STATUS

持续活跃Active

质量 A-Quality A-

近7天有34次提交,项目维护活跃Over 5,000 GitHub stars and active development

PROVENANCE · 这些结论的依据是什么Where these conclusions come from
来源 URLSource URL
https://github.com/meta/memlab
原始数据哈希Raw data hash
8d1340eac86b58f231673c7876274e08
解析时间Parsed at
2026-11-02T23:41:32.934Z
最后一次验证Last verified
2026-11-02T22:14:53.144Z
增长测量时间Growth measured
2026-10-03T23:24:59.911Z
发现查询Discovery queries
focus:token:code:save-tokens
分类来源Category source
rules
焦点Focus
token (3)

依赖:Dependencies:ansi, babar, blessed, chalk, fs-extra, minimist, puppeteer, string-width, util.promisify, xvfb

完整解析证据 JSONFull parse evidence JSON
{
  "agents": [
    {
      "agent": "claude-code",
      "evidence": "tree: .claude-plugin/"
    },
    {
      "agent": "windsurf",
      "evidence": "readme: …istants (Claude Code, Cursor, Windsurf, etc.) interactive tools to e…"
    },
    {
      "agent": "opencode",
      "evidence": "readme: …`` **Other agents** (Cursor, opencode, and others): add the MCP ser…"
    },
    {
      "agent": "copilot",
      "evidence": "readme: …istants (Claude Code, Cursor, GitHub Copilot, ChatGPT, etc.) working with…"
    }
  ],
  "apiKey": null,
  "docker": null,
  "taxonomy": {
    "scores": {
      "design": 0,
      "ai-tools": 1,
      "dev-tools": 3,
      "indie-web": 0,
      "skill-agent": 1,
      "productivity": 0
    },
    "primary": "dev-tools",
    "secondary": "coding-agent"
  },
  "localRuntime": null,
  "skillMdTotal": 4,
  "skillMdErrors": [],
  "treeTruncated": false,
  "categoryScores": {
    "data": 0,
    "agent": 0,
    "media": 0,
    "design": 0,
    "browser": 1,
    "devtool": 3,
    "security": 0,
    "marketing": 0,
    "productivity": 0
  },
  "classification": [
    {
      "signal": "4 SKILL.md with name + description",
      "weight": 0.95
    },
    {
      "signal": "README describes a Claude / Agent Skill",
      "weight": 0.7
    },
    {
      "signal": "Claude Code plugin manifest",
      "weight": 0.7
    },
    {
      "signal": ".mcp.json (configures servers it uses)",
      "weight": 0.3
    }
  ],
  "scannedSources": [
    "readme",
    "plugins/memlab/skills/memlab-analyze-heap-snapshot/SKILL.md",
    "plugins/memlab/skills/memlab-capture-heap-snapshots/SKILL.md",
    "plugins/memlab/skills/memlab-find-web-leaks/SKILL.md",
    "plugins/memlab/skills/memlab-memory-tests/SKILL.md"
  ],
  "skillMdFetched": 4
}

每周一周刊Monday weekly digest

每周一 1 封:本周热度最高的 10 个 GitHub 新项目。免费,随时退订。One email each Monday: the 10 hottest new GitHub projects this week. Free, unsubscribe any time.

看第 1 期Read issue 1

订阅即表示你同意我们按隐私政策发送每周一周刊。我们会记录这次订阅的来源页面和活动标签,这条记录不包含 IP 地址。Subscribing means you agree that we email the Monday weekly digest as described in the privacy policy. We record the referring page and campaign tag for the signup, and that record does not include an IP address. 隐私政策Privacy Policy

订阅每周一周刊Subscribe to the Monday weekly digest