Skip to content

Commit dc86ec8

Browse files
committed
Come Correct with Wrapping
1 parent bfb4867 commit dc86ec8

File tree

1 file changed

+23
-15
lines changed

1 file changed

+23
-15
lines changed

docs/api/process.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ upstream node:
1414
other builds it is `undefined`.
1515
* `process.windowsStore` Boolean - If the app is running as a Windows Store app
1616
(appx), this value is `true`, for other builds it is `undefined`.
17-
* `process.defaultApp` Boolean - When app is started by being passed as parameter
18-
to the default app, this value is `true` in the main process, otherwise it is
19-
`undefined`.
17+
* `process.defaultApp` Boolean - When app is started by being passed as
18+
parameter to the default app, this value is `true` in the main process,
19+
otherwise it is `undefined`.
2020
* `process.getSystemMemoryInfo` - Returns the amount of system memory and free
2121
swap space
2222
* `process.getProcessMemoryInfo` - Returns the amount of actual memory used by
@@ -70,23 +70,31 @@ limit, whichever is lower for the current process.
7070

7171
### getProcessMemoryInfo()
7272

73-
Return an object giving memory usage statistics about the current process. Note that
74-
all statistics are reported in Kilobytes.
73+
Return an object giving memory usage statistics about the current process. Note
74+
that all statistics are reported in Kilobytes.
7575

76-
* `workingSetSize` - The amount of memory currently pinned to actual physical RAM
77-
* `peakWorkingSetSize` - The maximum amount of memory that has ever been pinned to actual physical RAM
78-
* `privateBytes` - The amount of memory not shared by other processes, such as JS heap or HTML content.
79-
* `sharedBytes` - The amount of memory shared between processes, typically memory consumed by the Electron code itself
76+
* `workingSetSize` - The amount of memory currently pinned to actual physical
77+
RAM
78+
* `peakWorkingSetSize` - The maximum amount of memory that has ever been pinned
79+
to actual physical RAM
80+
* `privateBytes` - The amount of memory not shared by other processes, such as
81+
JS heap or HTML content.
82+
* `sharedBytes` - The amount of memory shared between processes, typically
83+
memory consumed by the Electron code itself
8084

8185
### getSystemMemoryInfo()
8286

83-
Return an object giving memory usage statistics about the entire system. Note that
84-
all statistics are reported in Kilobytes.
87+
Return an object giving memory usage statistics about the entire system. Note
88+
that all statistics are reported in Kilobytes.
8589

86-
* `total` - The total amount of physical memory in Kilobytes available to the system
87-
* `free` - The total amount of memory not being used by applications or disk cache
90+
* `total` - The total amount of physical memory in Kilobytes available to the
91+
system
92+
* `free` - The total amount of memory not being used by applications or disk
93+
cache
8894

8995
On Windows / Linux:
9096

91-
* `swapTotal` - The total amount of swap memory in Kilobytes available to the system
92-
* `swapFree` - The free amount of swap memory in Kilobytes available to the system
97+
* `swapTotal` - The total amount of swap memory in Kilobytes available to the
98+
system
99+
* `swapFree` - The free amount of swap memory in Kilobytes available to the
100+
system

0 commit comments

Comments
 (0)