hash_map clear() can releases memory.
fopen()