/** Close the map, making it read only and release the memory. */ public void close() { closed = true; readOnly = true; removeAllOldVersions(); root = null; }