Header menu logo fable-electron-docs-api

GetSystemMemoryInfo Type

Constructors

Constructor Description

GetSystemMemoryInfo(total, free, fileBacked, purgeable, swapTotal, swapFree)

Full Usage: GetSystemMemoryInfo(total, free, fileBacked, purgeable, swapTotal, swapFree)

Parameters:
    total : 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
total : 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

this.fileBacked

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.

this.free

Full Usage: this.free

The total amount of memory not being used by applications or disk cache.

this.purgeable

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.

this.swapFree

Full Usage: this.swapFree

⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ✔ | MAS ❌ The free amount of swap memory in Kilobytes available to the system.

this.swapTotal

Full Usage: this.swapTotal

⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ✔ | MAS ❌ The total amount of swap memory in Kilobytes available to the system.

this.total

Full Usage: this.total

The total amount of physical memory in Kilobytes available to the system.

Type something to start searching.