cf.FM_THRESHOLD

cf.FM_THRESHOLD(*new_minncfm)[source]

Return or set the minimum amount of memory to be kept free as a temporary work space.

The amount is returned as a number of kibibytes of memory, but set as a number of chunks.

Parameters :
new_minncfm : int, optional

The number of chunks to be kept free as a temporary work space.

Returns :
out : float or None

If new_minncfm was not set then return the existing temporary work space size in kibibytes, otherwise return None.

Examples

>>> cf.MINNCFM()
10
>>> cf.CHUNKSIZE()
102400.0
>>> cf.FM_THRESHOLD()
1024000.0
>>> cf.FM_THRESHOLD(20)
>>> cf.FM_THRESHOLD()
2048000.0

Previous topic

cf.CHUNKSIZE

Next topic

cf.MINNCFM

This Page