v8.setHeapSnapshotNearHeapLimit(limit)
稳定性: 1 - 实验
limit<integer>
如果 --heapsnapshot-near-heap-limit 已经从命令行设置或 API 被多次调用,则 API 是无操作的。
limit 必须是正整数。
有关详细信息,请参阅 --heapsnapshot-near-heap-limit。
Stability: 1 - Experimental
limit<integer>
The 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.