Update memoryManagement.java