modify memory manager.