fuchsia.memory

PROTOCOLS

Monitor

Defined in fuchsia.memory/monitor.fidl

Interface used to register for memory notifications.

Watch

Request

NameType
watcher Watcher

Watcher

Defined in fuchsia.memory/monitor.fidl

A watcher for memory changes

OnChange

Request

NameType
stats Stats

STRUCTS

Stats

Defined in fuchsia.memory/monitor.fidl

NameTypeDescriptionDefault
total_bytes uint64 The total amount of physical memory available to the system. No default
free_bytes uint64 The amount of unallocated memory. No default
wired_bytes uint64 The amount of memory reserved by and mapped into the kernel for reasons not covered by other fields in this struct. Typically for readonly data like the ram disk and kernel image, and for early-boot dynamic memory. No default
total_heap_bytes uint64 The amount of memory allocated to the kernel heap. No default
free_heap_bytes uint64 The portion of `total_heap_bytes` that is not in use. No default
vmo_bytes uint64 The amount of memory committed to VMOs, both kernel and user. A superset of all userspace memory. Does not include certain VMOs that fall under `wired_bytes`. No default
mmu_overhead_bytes uint64 The amount of memory used for architecture-specific MMU metadata like page tables. No default
ipc_bytes uint64 The amount of memory in use by IPC. No default
other_bytes uint64 Non-free memory that isn't accounted for in any other field. No default