Update MemoryBase.cpp