mufasa.utils.memory#
This module provides tools to monitor memory usage and estimate the memory allocations needed
Functions
Mimic Dask's default memory limit setting. |
|
Calculate target memory per core for chunked computations. |
|
Decorator to monitor and record the peak memory usage of a function. |
|
Decorator to monitor and display the peak memory usage of a function, including intermediate peaks, and handle multi-threaded tasks. |
|
Return whether or not it's worth DaskSpectralCube results temporary Based on how much free memory is currenlty left |