Free memory of HashMap

Is there a way to instruct the canister to release unused memory?

There is no way currently unfortunately. WebAssembly memories do not support shrinking.

2 Likes