Moving memory tracking to mapped_file_stack