Skip to content

Commit 702bf98

Browse files
committed
doc: move process.availableMemory to its right place
Move `process.availeableMemory` so it's in the right place alphabetically. Fixes: Fixes: #58402
1 parent e5db3f8 commit 702bf98

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

doc/api/process.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,26 @@ $ bash -c 'exec -a customArgv0 ./node'
982982
'customArgv0'
983983
```
984984

985+
## `process.availableMemory()`
986+
987+
<!-- YAML
988+
added:
989+
- v22.0.0
990+
- v20.13.0
991+
changes:
992+
- version: v24.0.0
993+
pr-url: https://github.com/nodejs/node/pull/57765
994+
description: Change stability index for this feature from Experimental to Stable.
995+
-->
996+
997+
* {number}
998+
999+
Gets the amount of free memory that is still available to the process
1000+
(in bytes).
1001+
1002+
See [`uv_get_available_memory`][uv_get_available_memory] for more
1003+
information.
1004+
9851005
## `process.channel`
9861006

9871007
<!-- YAML
@@ -1155,26 +1175,6 @@ is unknown, `0` is returned.
11551175
See [`uv_get_constrained_memory`][uv_get_constrained_memory] for more
11561176
information.
11571177

1158-
## `process.availableMemory()`
1159-
1160-
<!-- YAML
1161-
added:
1162-
- v22.0.0
1163-
- v20.13.0
1164-
changes:
1165-
- version: v24.0.0
1166-
pr-url: https://github.com/nodejs/node/pull/57765
1167-
description: Change stability index for this feature from Experimental to Stable.
1168-
-->
1169-
1170-
* {number}
1171-
1172-
Gets the amount of free memory that is still available to the process
1173-
(in bytes).
1174-
1175-
See [`uv_get_available_memory`][uv_get_available_memory] for more
1176-
information.
1177-
11781178
## `process.cpuUsage([previousValue])`
11791179

11801180
<!-- YAML

0 commit comments

Comments
 (0)