[IPython-dev] Memory consumption of running notebook

Paul Moore p.f.moore at gmail.com
Fri Jul 11 06:35:47 EDT 2014


On 10 July 2014 10:19, Max Linke <max_linke at gmx.de> wrote:
> Is there a way to see how much memory each notebook is roughly using?
> If I understand the notebooks correct a new python process is started
> for each running notebook, then I would already be happy with a way to
> see which process is running which notebook.

If you have psutil installed, you could use

p = psutil.Process()
p.memory_info()

There's *lots* more you can do with psutil...

Paul



More information about the IPython-dev mailing list