Stable Memory & Canister Upgrades What This Is Stable memory is persistent storage on Internet Computer that survives canister upgrades. Heap memory (regular variables) is wiped on every upgrade. Any data you care about MUST be in stable memory, or it will be lost the next time the canister is deployed. Prerequisites - For Motoko: mops with in mops.toml - For Rust: in Cargo.toml Canister IDs No external canister dependencies. Stable memory is a local canister feature. Mistakes That Break Your Build 1. Using for user data (Rust) -- This is heap memory. It is wiped on every canister upgrade. Al…