GetSystemMemoryInfo Type
Constructors
| Constructor |
Description
|
Full Usage:
GetSystemMemoryInfo(total, free, fileBacked, purgeable, swapTotal, swapFree)
Parameters:
int
-
The total amount of physical memory in Kilobytes available to the system.
free : int
-
The total amount of memory not being used by applications or disk cache.
fileBacked : int
-
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ || The amount of memory
that currently has been paged out to storage. Includes memory for file caches, network buffers, and other system services.
purgeable : int
-
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ || The amount of memory
that is marked as "purgeable". The system can reclaim it if memory pressure increases.
swapTotal : int
-
⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ✔ | MAS ❌ || The total amount of
swap memory in Kilobytes available to the system.
swapFree : int
-
⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ✔ | MAS ❌ || The free amount of
swap memory in Kilobytes available to the system.
Returns: GetSystemMemoryInfo
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.fileBacked
|
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ The amount of memory that currently has been paged out to storage. Includes memory for file caches, network buffers, and other system services. |
Full Usage:
this.free
|
The total amount of memory not being used by applications or disk cache. |
Full Usage:
this.purgeable
|
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ The amount of memory that is marked as "purgeable". The system can reclaim it if memory pressure increases. |
Full Usage:
this.swapFree
|
⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ✔ | MAS ❌ The free amount of swap memory in Kilobytes available to the system. |
Full Usage:
this.swapTotal
|
⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ✔ | MAS ❌ The total amount of swap memory in Kilobytes available to the system. |
Full Usage:
this.total
|
The total amount of physical memory in Kilobytes available to the system. |
fable-electron-docs-api