Can someone tell me what the max size for the wasm module is? I’m trying to do something incredibly silly in rust, but I’m getting errors trying to install my module which is 4MB…
I think it’s currently 3MB.
If you aren’t already using it, you may want to employ (crate?) ic-cdk-optimizer to reduce the binary size. Not a Rust dev, so don’t ask me how…
2 Likes
@Hazel 10mb messages between canisters on the same subnet is supported. What you might be able to do is take advantage of the asset canister as it can upload your wasm module in chunks, then install a 10mib wasm module onto your destination canister. haven’t tried it out myself.
4 Likes
Sample code (nodejs + canister code) used to deploy/install the ledger canister: https://github.com/ORIGYN-SA/large_canister_deployer_internal/blob/master/deploy.sh
1 Like
will this ever be upped?
I know a lot of people are interested in upping this limit, but it’s not happening in the very near future.