memwatcher

1.1.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i memwatcher

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

4.68 kB

Total Files

7

Last publish

Collaborators

  • xavierchow