Create a V8 heap snapshot right before an "Out of Memory" error occurs, or create a heap snapshot or CPU profile on request.
Update dependencies, drop prebuilt binaries for 16, 17, add for 22
3.1.0 https://github.com/blueconic/node-oom-heapdump/issues/28: only build prebuilt binaries for > 16.x, as Github Actions no longer supports older versions.
19-10-2023 Paul Rütter
https://github.com/blueconic/node-oom-heapdump/pull/27
3.0.0 Added Node 16 support (by merging https://github.com/blueconic/node-oom-heapdump/pull/20, Thanks Simon Abbott!). This fixes a recursion issue. Removed "GC_MONITORING" at it relied on gc-stats, which is no longer maintained (and contained security issues) Updated node-pre-gyp to @mapbox/node-pre-gyp so security issues are mitigated.
npm install node-oom-heapdump@alpha --save