mprof
$ mprof run <executable>
$ mprof plot
memory-profiler · PyPI