Skip to content

CanisterMemoryMetrics

Defined in: packages/pic/src/pocket-ic-types.ts:1145

Memory usage of a canister, broken down by kind, in bytes.

canisterHistorySize: bigint

Defined in: packages/pic/src/pocket-ic-types.ts:1174

The memory used to store the canister’s history.


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: bigint

Defined in: packages/pic/src/pocket-ic-types.ts:1159

The memory used by the canister’s global variables.


logMemoryStoreSize: bigint

Defined in: packages/pic/src/pocket-ic-types.ts:1189

The memory used by the canister’s logs.


snapshotsSize: bigint

Defined in: packages/pic/src/pocket-ic-types.ts:1184

The memory used by all snapshots of the canister.


stableMemorySize: bigint

Defined in: packages/pic/src/pocket-ic-types.ts:1154

The stable memory used by the canister.


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: bigint

Defined in: packages/pic/src/pocket-ic-types.ts:1179

The memory used by the canister’s WASM chunk store.


wasmMemorySize: bigint

Defined in: packages/pic/src/pocket-ic-types.ts:1149

The heap memory used by the canister’s WebAssembly code.