--max-heap-size


指定进程的最大堆大小(以兆字节为单位)。

🌐 Specifies the maximum heap size (in megabytes) for the process.

此选项通常用于限制进程可以用于其 JavaScript 堆的内存量。

🌐 This option is typically used to limit the amount of memory the process can use for its JavaScript heap.