process.constrainedMemory()


稳定性: 1 - 实验性的

¥Stability: 1 - Experimental

根据操作系统施加的限制获取进程可用的内存量(以字节为单位)。如果没有这样的约束,或者约束未知,则返回 0

¥Gets the amount of memory available to the process (in bytes) based on limits imposed by the OS. If there is no such constraint, or the constraint is unknown, 0 is returned.

有关详细信息,请参阅 uv_get_constrained_memory

¥See uv_get_constrained_memory for more information.