Socket
Socket
Sign inDemoInstall

cleanheap

Package Overview
Dependencies
2
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cleanheap

A tool for scrubbing Weak retainer paths from a heap snapshot


Version published
Weekly downloads
4
increased by300%
Maintainers
1
Install size
51.6 MB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 30 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc