CanisterMemoryMetrics
Defined in: packages/pic/src/pocket-ic-types.ts:1145
Memory usage of a canister, broken down by kind, in bytes.
Properties
Section titled “Properties”canisterHistorySize
Section titled “canisterHistorySize”canisterHistorySize:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:1174
The memory used to store the canister’s history.
customSectionsSize
Section titled “customSectionsSize”customSectionsSize:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:1169
The memory used by the custom sections of the canister’s WASM module.
globalMemorySize
Section titled “globalMemorySize”globalMemorySize:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:1159
The memory used by the canister’s global variables.
logMemoryStoreSize
Section titled “logMemoryStoreSize”logMemoryStoreSize:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:1189
The memory used by the canister’s logs.
snapshotsSize
Section titled “snapshotsSize”snapshotsSize:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:1184
The memory used by all snapshots of the canister.
stableMemorySize
Section titled “stableMemorySize”stableMemorySize:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:1154
The stable memory used by the canister.
wasmBinarySize
Section titled “wasmBinarySize”wasmBinarySize:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:1164
The size of the installed WASM module as uploaded, e.g. compressed if it was gzipped.
wasmChunkStoreSize
Section titled “wasmChunkStoreSize”wasmChunkStoreSize:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:1179
The memory used by the canister’s WASM chunk store.
wasmMemorySize
Section titled “wasmMemorySize”wasmMemorySize:
bigint
Defined in: packages/pic/src/pocket-ic-types.ts:1149
The heap memory used by the canister’s WebAssembly code.