v8.setHeapSnapshotNearHeapLimit(limit)


版本历史
版本变更
v22.17.0

标记 API 稳定。

v18.10.0, v16.18.0

新增于: v18.10.0, v16.18.0

如果 --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.

AltStyle によって変換されたページ (->オリジナル) /