pub(crate) fn get_size(&self) -> usize {
        // Hashmap memory overhead is neglected.
        let known_bytecodes_size = self
            .known_bytecodes
            .inner()
            .iter()
            .map(|(_, value)| value.len() * std::mem::size_of::<U256>())
            .sum::<usize>();
        let decommitted_code_hashes_size =
            self.decommitted_code_hashes.inner().len() * std::mem::size_of::<(U256, u32)>();

        known_bytecodes_size + decommitted_code_hashes_size
    }
Measures the amount of memory used by this Oracle (used for metrics only).
core/lib/multivm/src/versions/vm_1_4_1/old_vm/oracles/decommitter.rs