memory_profiler¶Install¶mamba install memory_profiler -y Run it¶mprof run script.py # creates a .dat file in folder containing timestamps and memory readings mprof plot # pop up a Matplotlib window showing a clean line graph of Memory (MB) vs. Time (s)