M
v8.setHeapSnapshotNearHeapLimit
History
Added in: v18.10.0, v16.18.0
v18.10.0, v16.18.0
Introduced in: v4.0.0
v4.0.0
Marking the API stable.
v24.0.0, v22.17.0
v8.setHeapSnapshotNearHeapLimit(limit): void
Attributes
limit:
integerThe API is a no-op if --heapsnapshot-near-heap-limit is already set from the
command line or the API is called more than once. limit must be a positive
integer. See --heapsnapshot-near-heap-limit for more information.