v8.setHeapSnapshotNearHeapLimit(limit)
limit<integer>
如果命令行中已经设置了 --heapsnapshot-near-heap-limit,或者 API 被调用超过一次,该 API 将不会执行任何操作。limit 必须是正整数。有关更多信息,请参阅 --heapsnapshot-near-heap-limit。
【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.】