Memory management tool