The file path where the V8 heap snapshot is to be
saved. If not specified, a file name with the pattern
'Heap-${yyyymmdd}-${hhmmss}-${pid}-${thread_id}.heapsnapshot'
will be
generated, where {pid}
will be the PID of the Node.js process,
{thread_id}
will be 0
when writeHeapSnapshot()
is called from
the main Node.js thread or the id of a worker thread.
Generated using TypeDoc
Generates a snapshot of the current V8 heap and returns a Readable Stream that may be used to read the JSON serialized representation. This conversation was marked as resolved by joyeecheung This JSON stream format is intended to be used with tools such as Chrome DevTools. The JSON schema is undocumented and specific to the V8 engine, and may change from one version of V8 to the next.