better handle memory in use by expired allocation