How to clean up a dictionary or other area that is running out of space?