Made more accurate debugging mem allocations.