cf.CHUNKSIZE

cf.CHUNKSIZE(*size)[source]

The memory chunk size in bytes for data storage and processing.

When setting the chunk size, the amount of minimum amount of memory to be kept free as a temporary work space is also updated.

See also

cf.MINNCFM

Examples 1:
>>> current_chunksize = cf.CHUNKSIZE()
Parameters:
size: int, optional

The new chunk size in bytes. The default is to not change the current value.

Returns:
out: float

The value prior to the change, or the current value if no new value was specified.

Examples 2:
>>> cf.CHUNKSIZE()
57095864.32
>>> old = cf.CHUNKSIZE(2**30)
>>> cf.CHUNKSIZE(old)
1073741824
>>> cf.CHUNKSIZE()
57095864.32