Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
No description, website, or topics provided.
JavaScript Shell
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Initial commit Jan 31, 2020
.eslintrc.js Initial commit Jan 31, 2020
.gitignore Initial commit Jan 31, 2020
LICENSE Fix license Feb 2, 2020
NOTICE
README.md Initial commit Jan 31, 2020
package.json Fix license Feb 2, 2020
yarn.lock

README.md

heapdump-cleanup

Postprocess a Node heap snapshot to remove all WeakMap strong edges to make it easier to trace the path from a suspected leaked object to the GC root.

Usage

npx heapdump-cleanup <input> <output>

Limitations

The script reads the entire heapdump in memory for processing. The read and write are streamed and it works on top of the raw snapshot structure, so it only requires enough memory to keep the raw snapshot data in memory, but it may still choke on larger heapdumps.

You can’t perform that action at this time.