H5set_free_list_limits

fnherr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)

Sets free-list size limits.

H5set_free_list_limits sets size limits on all types of free lists. The HDF5 library uses free lists internally to manage memory.

Using a value of -1 for a limit means that no limit is set for the specified type of free list.

Parameters

reg_global_limThe cumulative limit, in bytes, on memory used for all regular free lists (Default: 1MB)
reg_list_limThe limit, in bytes, on memory used for each regular free list (Default: 64KB)
arr_global_limThe cumulative limit, in bytes, on memory used for all array free lists (Default: 4MB)
arr_list_limThe limit, in bytes, on memory used for each array free list (Default: 256KB)
blk_global_limThe cumulative limit, in bytes, on memory used for all block free lists and factory free lists (Default: 16MB)
blk_list_limThe limit, in bytes, on memory used for each block or factory free list (Default: 1MB)

Returns

Returns a non-negative value if successful;

otherwise returns a negative value.