Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: move process.availableMemory to its right place
Move `process.availeableMemory` so it's in the right place
alphabetically.

Fixes: #58402
  • Loading branch information
mureinik committed May 22, 2025
commit 9001fa3f220f5d1f0b5c47d7fb50ff4a44e23670
44 changes: 22 additions & 22 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,28 @@ $ bash -c 'exec -a customArgv0 ./node'
'customArgv0'
```

## `process.availableMemory()`

<!-- YAML
added:
- v22.0.0
- v20.13.0
changes:
- version:
- v24.0.0
- v22.16.0
pr-url: https://github.com/nodejs/node/pull/57765
description: Change stability index for this feature from Experimental to Stable.
-->

* {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.channel`

<!-- YAML
Expand Down Expand Up @@ -1157,28 +1179,6 @@ is unknown, `0` is returned.
See [`uv_get_constrained_memory`][uv_get_constrained_memory] for more
information.

## `process.availableMemory()`

<!-- YAML
added:
- v22.0.0
- v20.13.0
changes:
- version:
- v24.0.0
- v22.16.0
pr-url: https://github.com/nodejs/node/pull/57765
description: Change stability index for this feature from Experimental to Stable.
-->

* {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])`

<!-- YAML
Expand Down