When utilizing heap and stable structure memory with the stable structure crate (https://github.com/dfinity/stable-structures), how can I determine the size of the heap and the stable memory separately?
While canister_status()
seems to provide the overall memory usage, I’m interested in finding how to differentiate between the two.
Basically I want to display a user: total size zzzz Mb of which heap size xxxx Mb, stable size yyyy Mb.