Skip to content

Releases: blueconic/node-oom-heapdump

Adding prebuilt binaries (as major version)

20 Jul 07:48

Choose a tag to compare

See #13
Republished as 2.0.0, to abide semver.

Removed prebuilt binaries

20 Jul 07:47

Choose a tag to compare

Adding prebuilt binaries

24 Jun 12:30
bc17421

Choose a tag to compare

Node 12 support

16 Oct 15:05

Choose a tag to compare

Added node 12 support.

Updated dependencies, build script for 7/10

02 Jan 10:39

Choose a tag to compare

  • Updated dependencies
  • Added Travis CI build script which tries to install the module on version 7 to 10
  • Added Travis badge
  • Fixed a warning on Node.js 10 regarding "String::Utf8Value".

Security updates

07 Sep 07:32

Choose a tag to compare

Some packages used in dependencies of this package contained security issues.
This release updated the dependencies, which mitigate these risks.

Fix heapdump generation on Unix and add old implementation as alternative

20 Feb 10:45

Choose a tag to compare

  • Fix heapdump generation on Unix
  • Add option to use the "old" implementation (GCmonitoring), as the new implementatuion is more prone to run in with the OoM killer when in memory restricted environments (like Docker). The old implementation was less impacted by this, because the "threshold" parameter can be used to create the heapdump earlier.

You can specify which OoM implementation to use, either: "NATIVE_HOOK" (default) or "GC_MONITORING" (old implementation).

Use native V8 API to hook into OoM errors

19 Feb 15:26

Choose a tag to compare

This change should greatly improve usability of this module, as it no longer relies on the GC kicking in.
It just hooks in on the native V8 API 'SetOOMErrorHandler'.

  • Changed the way the "out of memory" heapdump is created, based on the work of 'trevnorris' (https://github.com/trevnorris/node-ofe/blob/master/ofe.cc). Using V8 engine isolate.SetOOMErrorHandler() to hook in on the out of memory event.
  • Updated readme and removed deprecated 'limit' and 'threshold' parameters.
  • Removed 'gc-stats' module, as we no longer need it with the native C++ add-on.

Fix for issue #3 'require.main.filename is undefined'

13 Feb 09:00

Choose a tag to compare

Add port verification when module is loaded

21 Nov 11:58

Choose a tag to compare

  • 1.0.11: Added port verification; when the module is loaded, the configured WebSocket port is verified. If the websocket responds with ECONNREFUSED, the process might have been started without the --inspect flag.
  • updated dependencies (chrome-remote-interface)