memload#
- memload()[source]#
Takes a snapshot of current fraction of memory usage via
psutil
Note on the different functions:
sc.memload()
checks current total system memory consumptionsc.checkram()
checks RAM (virtual memory) used by the current Python processsc.checkmem()
checks memory consumption by a given object
- Returns:
a float between 0-1 representing the fraction of
psutil.virtual_memory()
currently used.