5

I am using ipython notebook and am using up too much memory.

Using: ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS | tail -n 10 I see it come up to a little over 200MB before restarting the kernel.

I read here that I should increase the memory for the virtual box of the notebook with vagrant. However, I am not using Vagrant, and running ipython notebook from my shell without any virtual box (that I am aware of).

What do I do to increase the memory allocation?

nsfyn55
  • 14,875
  • 8
  • 50
  • 77
eran
  • 14,496
  • 34
  • 98
  • 144
  • 1
    `iPython notebook` can be used in a vagrant/vbox setup but it doesn't have to be. I think you wondered into some inappropriate documentation. I assume by `restarting the kernel` you mean restarted by the kernel. If the kernel is killing your process you need to find out why and 200mb doesn't sound like a very good reason to kill a proc. Check your `/var/log/syslog` for events at the time your proc was killed it could be related to `ulimit`s – nsfyn55 May 23 '14 at 19:41
  • @nsfyn55 I think he meant restarting the __ipython__ kernel. Ipython, like python, will use as much memory as it needs. If it's using too much, chances are you've got variables etc.. that use lots of memory. Thinkgs like matplotlib plots also eat up memory. – drevicko Jun 11 '15 at 07:24
  • Well if the only question is how to I increase memory allocation for vagrant(and by extension the underlying vbox image) then I vote to close cause this has to have been answered somewhere on SO(http://stackoverflow.com/questions/12308149/vagrantfile-how-do-i-increase-ram-and-set-up-host-only-networking). – nsfyn55 Jun 11 '15 at 17:08
  • Or wait OP isn't even using vagrant. Its just poorly tagged. – nsfyn55 Jun 11 '15 at 17:09

0 Answers0