Memory leak after map loading, more testing needed