[IPython-dev] Memory consumption of running notebook
MinRK
benjaminrk at gmail.com
Thu Jul 10 10:06:06 EDT 2014
It might make sense to put some resource info in the Running tab.
On Thu, Jul 10, 2014 at 4:42 AM, Ingolf Becker <ingolf.becker at googlemail.com
> wrote:
> Which OS are you using? On unix based systems, the one liner
> `!cat /proc/{os.getpid()}/status | grep VmSize`
> will give you the memory occupied by the current ipython process. You can
> of course run that command in parallel on all nodes. If you want more
> functionality, or you are on Windows, I suppose you could do something like
> [1].
>
> I hope this helps!
>
> [1]
> https://stackoverflow.com/questions/938733/total-memory-used-by-python-process
>
>
>
>
> On 10 July 2014 10:19, Max Linke <max_linke at gmx.de> wrote:
>
>> Hi
>>
>> I often have 10 and more notebooks running at the same time. It can
>> happen that one or two of them contain large arrays that fill up my memory
>> and it is not obvious from the cell-content which notebook consumes the
>> most memory.
>> 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.
>>
>> best Max
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140710/5be6c41c/attachment.html>
More information about the IPython-dev
mailing list