(#4338)  Add memory tracking for KVM.