process.availableMemory()
版本历史
| 版本 | 变更 |
|---|---|
| v24.0.0 | 将此功能的稳定性指数从"实验"级别更改为"稳定"级别。 |
| v22.0.0, v20.13.0 | 新增于: v22.0.0, v20.13.0 |
获取进程仍可用的空闲内存量(以字节为单位)。
\Gets the amount of free memory that is still available to the process (in bytes).
有关详细信息,请参阅 uv_get_available_memory。
\See uv_get_available_memory for more
information.