pub fn mem_profile()