Skip to content

Releases: blueconic/node-oom-heapdump

Fix the calculation for when to create OoM heapdump

17 Nov 08:27

Choose a tag to compare

Previously, process.memoryUsage() was used to determine when the heap was reaching its limit.
After testing this thoroughly, it seems that "heapTotal" is not representing the memory limit that was set with the "max_old_space_size" flag, but is just showing the total size the heap can grow to at that time. So, "heapTotal" doesn't seem to reflect the limit.

Changed the calculation so the "after" values of the "gc-stats" package are used to determine when the limit is (almost) reached. "usedHeapSize" and "heapSizeLimit" are used, where heapSizeLimit does seem to reflect the value set by "max_old_space_size".

Changed the default threshold to 70%, as this value seems to work better with this new calculation.

Improved error handling

06 Oct 09:31

Choose a tag to compare

Improved error handling

Added CPU profile functionality

05 Oct 20:29

Choose a tag to compare

Added CPU profile functionality

Add 'addTimestamp' option

04 Oct 07:56

Choose a tag to compare

Add addTimestamp option.
Error handling. Updated README.md.

Add limit

03 Oct 15:39

Choose a tag to compare

Add limit

Made heapsize calculation more precise and stable

03 Oct 14:49

Choose a tag to compare

1.0.5

BC-5586 Investigate possibilities to detect OutOfMemory errors on pro…

Updated documentation

01 Oct 21:59

Choose a tag to compare

Change name to path.

Updated documentation and create heapdumps on request

01 Oct 21:36

Choose a tag to compare

Documentation update, feature update for creating heapdumps on request.
Updated examples.

1.0.1 - First version

29 Sep 21:47

Choose a tag to compare

Initial version.