Like std::time::Instant, but for memory.
std::time::Instant
Measures the total size of all currently allocated objects.