2017-04-27 04:04:53 +00:00
|
|
|
# MemoryInfo Object
|
|
|
|
|
2017-05-10 21:26:13 +00:00
|
|
|
* `pid` Integer - Process id of the process.
|
2017-04-27 04:04:53 +00:00
|
|
|
* `workingSetSize` Integer - The amount of memory currently pinned to actual physical RAM.
|
|
|
|
* `peakWorkingSetSize` Integer - The maximum amount of memory that has ever been pinned
|
2017-06-08 17:05:53 +00:00
|
|
|
to actual physical RAM. On macOS its value will always be 0.
|
2017-04-27 04:04:53 +00:00
|
|
|
* `privateBytes` Integer - The amount of memory not shared by other processes, such as
|
|
|
|
JS heap or HTML content.
|
|
|
|
* `sharedBytes` Integer - The amount of memory shared between processes, typically
|
|
|
|
memory consumed by the Electron code itself
|
|
|
|
|
2017-05-10 21:26:13 +00:00
|
|
|
Note that all statistics are reported in Kilobytes.
|