JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q23344F
  • License MIT

A tool for scrubbing Weak retainer paths from a heap snapshot

Package Exports

  • cleanheap
  • cleanheap/src/index.ts

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cleanheap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

cleanheap

This project cleans weak retainer paths from heap snapshots of even the largest most gnarly dumps 💩

✨ Leaving Your Memory Leak Debugging

Demo of CLI Tool

Usage

To use:

npx cleanheap <input-file-path>

Optionally:

npx cleanheap <input-file-path> <output-file-path>

Contributing

To install dependencies:

bun install

To run:

bun run src/index.ts

To compile:

bun build src/index.ts --compile --outfile cleanheap

Credits

This project was created using bun init in bun v0.7.1. Bun is a fast all-in-one JavaScript runtime.

Inspired by dnachev/heapdump-cleanup I used to use but which couldn't handle larger heap snapshots.