Skip to content

Interface: MemoryStatus ​

Defined in: types/desktop-engine.d.ts:4116

Memory, in SystemStatus.memory; sizes in bytes, as Activity Monitor's Memory tab shows them

Properties ​

app ​

ts
readonly app: number;

Defined in: types/desktop-engine.d.ts:4122

App Memory


cached ​

ts
readonly cached: number;

Defined in: types/desktop-engine.d.ts:4128

Cached Files: memory macOS gives back when something needs it


compressed ​

ts
readonly compressed: number;

Defined in: types/desktop-engine.d.ts:4126

Compressed


pressure ​

ts
readonly pressure: MemoryPressure;

Defined in: types/desktop-engine.d.ts:4132

Memory pressure


swapping ​

ts
readonly swapping: boolean;

Defined in: types/desktop-engine.d.ts:4134

Whether macOS wrote memory out to the disk in the last 10 seconds


swapUsed ​

ts
readonly swapUsed: number;

Defined in: types/desktop-engine.d.ts:4130

Swap Used: memory written out to the disk


total ​

ts
readonly total: number;

Defined in: types/desktop-engine.d.ts:4118

Physical memory


used ​

ts
readonly used: number;

Defined in: types/desktop-engine.d.ts:4120

Memory Used: app + wired + compressed


wired ​

ts
readonly wired: number;

Defined in: types/desktop-engine.d.ts:4124

Wired Memory

The SDK is released under the Apache License 2.0