Wasm is too large

Guys, got a problem here: while I was deploying my canister, it occured: Canister's Wasm module is not valid: Wasm module code section size of 11914096 exceeds the maximum allowed size of 10485760., error code None, even after I gzip it, it still exceeds.

I think what you need to check is IC management canister install chunked code method, that’s helpful in installing large wasm files in canisters by chunking wasm and then installing them.
Check here : The Internet Computer Interface Specification | Internet Computer

Okay, I’ll take a look

1 Like