The library's metadata cache is fairly conservative about holding on to HDF5 object metadata (object headers, chunk index structures, etc.), which can cause the cache size to grow, resulting in memory pressure on an application or system. When enabled, the "evict on close" property will cause all metadata for an object to be immediately evicted from the cache as long as it is not referenced by any other open object.
This function only applies to file access property lists.
See H5PsetH5P_evictSET_on_close()EVICT_ON_CLOSE for additional notes on behavior.