Dfx deploy --network=ic heap out of bounds

The invocation to the wallet call forward method failed with the error: An error happened during the call: 5: Canister “canister-id” trapped: heap out of bounds

Appeared for the first time? What do i do

1 Like

Is there anyone? please help me

I can’t really answer in the abstract - can you document the dfx version, the call you were trying to make, your OS, and whether you have upgraded your cycles wallet recently?

dfx version 0.7.2
Mac Os 11.4
dfx canister --network=ic status “Canister Name”
Canister status call result for “Canister Name”
Status: Running

dfx deploy --network=ic

Deploying all canisters.
All canisters have already been created.
Building canisters…

Upgrading code for canister “Canister Name”, with canister_id “canisterId”
The invocation to the wallet call forward method failed with the error: An error happened during the call: 5: Canister “canisterId” trapped: heap out of bounds

Controller: r34ha-yiaaa-aaaah-aaa4q-cai
Memory allocation: 0
Compute allocation: 0
Freezing threshold: 2_592_000
Memory Size: Nat(BigUint { data: [56467965] })
Balance: 56_206_146_962_072 Cycles
Module hash: 0x969171e08c4e6c60b54d889e3a733efbbdedfbc30536bcafbf0b6e892c68bbb7

Any news on this? I got the same error when upgrade my canister.

no,

There is no way to contact the corresponding person to deal with it. At present, we also leave this container in a free state.

Why Memory allocation is 0?

system auto allocation
No manual adjustment