Skip to content

v8: Expose statistics about heap spaces

Provide means to inspect information about the separate heap spaces via a callable API. This is helpful to analyze memory issues.

As discussed with @bnoordhuis in #2079 (closed), this adds the ability to inspect heap spaces via a new function in the v8 module:

v8.getHeapSpaceStatistics()

Fixes https://github.com/nodejs/node/issues/2079

Merge request reports

Loading