1.1.1 • Published 5 years ago

memwatcher v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

MemWatcher

Build Status

Intro

A deadly simple wrapper of node-memwatch to dump you heap when leaking occurs.

How to use

  • add the following snippet to your process, by default the heap dump will be saved in the path like /tmp/profile-{pid}-{timestamp}.heapsnapshot.
const watcher = require('memwatcher')
watcher();
  • set environment variable MONITOR_MEM to yes

Licence

MIT

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago