pansinm 2019-12-25
// npm install heapdump const heapdump = require('heapdump') heapdump.writeSnapshot('path/to/heapsnapshot')
{ rss: 21602304, heapTotal: 5955584, heapUsed: 3796720, external: 1387352 }