Update MemoryManagement.java