From dc86ec8ddd7ffd2bcd19ff66b8f13d3ecd8a14f9 Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Tue, 17 May 2016 14:54:33 -0700 Subject: [PATCH] Come Correct with Wrapping --- docs/api/process.md | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/docs/api/process.md b/docs/api/process.md index 14b1c9b..1ad8dca 100644 --- a/docs/api/process.md +++ b/docs/api/process.md @@ -14,9 +14,9 @@ upstream node: other builds it is `undefined`. * `process.windowsStore` Boolean - If the app is running as a Windows Store app (appx), this value is `true`, for other builds it is `undefined`. -* `process.defaultApp` Boolean - When app is started by being passed as parameter - to the default app, this value is `true` in the main process, otherwise it is - `undefined`. +* `process.defaultApp` Boolean - When app is started by being passed as + parameter to the default app, this value is `true` in the main process, + otherwise it is `undefined`. * `process.getSystemMemoryInfo` - Returns the amount of system memory and free swap space * `process.getProcessMemoryInfo` - Returns the amount of actual memory used by @@ -70,23 +70,31 @@ limit, whichever is lower for the current process. ### getProcessMemoryInfo() -Return an object giving memory usage statistics about the current process. Note that -all statistics are reported in Kilobytes. +Return an object giving memory usage statistics about the current process. Note +that all statistics are reported in Kilobytes. -* `workingSetSize` - The amount of memory currently pinned to actual physical RAM -* `peakWorkingSetSize` - The maximum amount of memory that has ever been pinned to actual physical RAM -* `privateBytes` - The amount of memory not shared by other processes, such as JS heap or HTML content. -* `sharedBytes` - The amount of memory shared between processes, typically memory consumed by the Electron code itself +* `workingSetSize` - The amount of memory currently pinned to actual physical + RAM +* `peakWorkingSetSize` - The maximum amount of memory that has ever been pinned + to actual physical RAM +* `privateBytes` - The amount of memory not shared by other processes, such as + JS heap or HTML content. +* `sharedBytes` - The amount of memory shared between processes, typically + memory consumed by the Electron code itself ### getSystemMemoryInfo() -Return an object giving memory usage statistics about the entire system. Note that -all statistics are reported in Kilobytes. +Return an object giving memory usage statistics about the entire system. Note +that all statistics are reported in Kilobytes. -* `total` - The total amount of physical memory in Kilobytes available to the system -* `free` - The total amount of memory not being used by applications or disk cache +* `total` - The total amount of physical memory in Kilobytes available to the + system +* `free` - The total amount of memory not being used by applications or disk + cache On Windows / Linux: -* `swapTotal` - The total amount of swap memory in Kilobytes available to the system -* `swapFree` - The free amount of swap memory in Kilobytes available to the system +* `swapTotal` - The total amount of swap memory in Kilobytes available to the + system +* `swapFree` - The free amount of swap memory in Kilobytes available to the + system -- 2.7.4