diff --git a/doc/api/process.md b/doc/api/process.md index 48901d5c40cfde..d4de186f5ffad1 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1127,6 +1127,22 @@ is unknown, `undefined` is returned. See [`uv_get_constrained_memory`][uv_get_constrained_memory] for more information. +## `process.availableMemory()` + + + +> Stability: 1 - Experimental + +* {number} + +Gets the amount of free memory that is still available to the process +(in bytes). + +See [`uv_get_available_memory`][uv_get_available_memory] for more +information. + ## `process.cpuUsage([previousValue])`