This is a python module for monitoring memory consumption of a process as well as line-by-line analysis of memory consumption for python programs. matplotlib is an optional dependency it is used for plotting memory consumption generated by mprof run