pyphi.cache.cache_utils.memory_full#
- pyphi.cache.cache_utils.memory_full()[source]#
Check if the memory is too full for further caching.
Measures resident memory against
memory_ceiling_byteswhen that is set, and otherwise againstmemory_ceiling_percentageof the memory this process may use (seememory_limit_bytes()) — which is the machine’s total only when the process is free to use all of it.