pub struct MemoryAllocations {
pub summary: MemoryAllocationSummary,
pub memories: Vec<MemoryAllocation>,
}Expand description
MemoryAllocations
Owned, bounded, read-only physical allocation accounting for one runtime’s backing memory. Exactly 255 entries are ordered by ID. Numeric sizes are measured from validated persisted metadata or exact arithmetic on those measurements; none are estimates. Physical extent is the supplied backing memory’s extent, which is the IC stable extent only for that backing type.
Conservation: physical_extent.bytes = manager_metadata_bytes + allocated_bucket_bytes + unmanaged_bytes. Also allocated_bucket_bytes = sum(memories.allocated_bytes) = virtual_extent.bytes + bucket_slack_bytes.
Known binding bytes include the reserved ledger slot; unknown binding bytes
include allocations whose historical owners were deliberately not decoded.
Fields§
§summary: MemoryAllocationSummaryNumeric accounting shared with the summary-only report.
memories: Vec<MemoryAllocation>