You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/references/ic-interface-spec.md
+19-1
Original file line number
Diff line number
Diff line change
@@ -2273,7 +2273,25 @@ Indicates various information about the canister. It contains:
2273
2273
2274
2274
- A SHA256 hash of the module installed on the canister. This is `null` if the canister is empty.
2275
2275
2276
-
- The actual memory usage of the canister.
2276
+
- The total memory usage of the canister, which includes all types of memory consumed by the canister.
2277
+
2278
+
- Detailed breakdown of memory usage into individual components (in bytes):
2279
+
2280
+
*`heap_size`: Represents the total Wasm memory usage of the execution state, which includes the heap memory used by the canister's WebAssembly code.
2281
+
2282
+
*`stable_size`: Indicates the total stable memory usage of the execution state, which is the memory that persists across canister upgrades.
2283
+
2284
+
*`global_size`: The total global memory usage of the execution state, encompassing all global variables used by the canister.
2285
+
2286
+
*`wasm_binary_size`: The total memory occupied by the Wasm binary itself within the execution state.
2287
+
2288
+
*`custom_sections_size`: The memory used by custom sections within the execution state, which may include additional metadata or configuration data.
2289
+
2290
+
*`canister_history_size`: The total memory allocated for storing the canister's history within the system state, which includes records of past actions and changes.
2291
+
2292
+
*`wasm_chunk_store_size`: The memory used by the Wasm chunk store within the system state, which is used to store large Wasm modules in chunks.
2293
+
2294
+
*`snapshot_size`: The total memory consumed by snapshots within the system state, which are used to capture the state of the canister at specific points in time.
0 commit comments