sincecutoff.com
← all changes

chrome-devtools-mcp adds get_heapsnapshot_duplicate_strings

Introduced 2026-07-03 · score 0.94

HOW TO USE IT

When memory debugging is enabled, call `get_heapsnapshot_duplicate_strings` on a `.heapsnapshot` file to group duplicate strings by value. Add `pageIdx` and `pageSize` to paginate results when needed.

chrome-devtools get_heapsnapshot_duplicate_strings "<path>.heapsnapshot"
get_heapsnapshot_duplicate_strings({"filePath":"<path>.heapsnapshot","pageIdx":<index>,"pageSize":<count>})

WHY THIS HELPS

Inspect a saved Chrome memory heapsnapshot to find repeated strings.

REQUIREMENTS AND LIMITATIONS

  • Version: 1.5.0
  • filePath (required): Path to a `.heapsnapshot` file to read.
  • pageIdx: Page index for pagination.
  • pageSize: Page size for pagination.
  • Prerequisite: Enable memory debugging with `--memoryDebugging=true`.
  • Requires `--memoryDebugging=true`.
  • `filePath` must point to a `.heapsnapshot` file.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card