class 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 consumption

  • sc.checkram() checks RAM (virtual memory) used by the current Python process

  • sc.checkmem() checks memory consumption by a given object


a float between 0-1 representing the fraction of psutil.virtual_memory() currently used.