MCPcopy Index your code
hub / github.com/nodejs/node / setHeapSnapshotNearHeapLimit

Function setHeapSnapshotNearHeapLimit

lib/v8.js:352–361  ·  view source on GitHub ↗
(limit)

Source from the content-addressed store, hash-verified

350
351let heapSnapshotNearHeapLimitCallbackAdded = false;
352function setHeapSnapshotNearHeapLimit(limit) {
353 validateUint32(limit, 'limit', true);
354 if (heapSnapshotNearHeapLimitCallbackAdded ||
355 getOptionValue('--heapsnapshot-near-heap-limit') > 0
356 ) {
357 return;
358 }
359 heapSnapshotNearHeapLimitCallbackAdded = true;
360 _setHeapSnapshotNearHeapLimit(limit);
361}
362
363const detailLevelDict = {
364 __proto__: null,

Callers

nothing calls this directly

Calls 1

getOptionValueFunction · 0.85

Tested by

no test coverage detected