Header menu logo fable-electron-docs-api

MemoryInfo Type

Note that all statistics are reported in Kilobytes.

Constructors

Constructor Description

MemoryInfo(workingSetSize, peakWorkingSetSize, ?privateBytes)

Full Usage: MemoryInfo(workingSetSize, peakWorkingSetSize, ?privateBytes)

Parameters:
    workingSetSize : int - The amount of memory currently pinned to actual physical RAM.
    peakWorkingSetSize : int - The maximum amount of memory that has ever been pinned to actual physical RAM.
    ?privateBytes : int - ⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ❌ | MAS ❌ || The amount of memory not shared by other processes, such as JS heap or HTML content.

Returns: MemoryInfo
workingSetSize : int

The amount of memory currently pinned to actual physical RAM.

peakWorkingSetSize : int

The maximum amount of memory that has ever been pinned to actual physical RAM.

?privateBytes : int

⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ❌ | MAS ❌ || The amount of memory not shared by other processes, such as JS heap or HTML content.

Returns: MemoryInfo

Instance members

Instance member Description

this.peakWorkingSetSize

Full Usage: this.peakWorkingSetSize

The maximum amount of memory that has ever been pinned to actual physical RAM.

this.privateBytes

Full Usage: this.privateBytes

⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ❌ | MAS ❌ The amount of memory not shared by other processes, such as JS heap or HTML content.

this.workingSetSize

Full Usage: this.workingSetSize

The amount of memory currently pinned to actual physical RAM.

Type something to start searching.