[Numpy-discussion] Numpy's policy for releasing memory

Charles R Harris charlesr.harris@gmail....
Tue Nov 13 08:52:54 CST 2012


On Tue, Nov 13, 2012 at 2:27 AM, Austin Bingham <austin.bingham@gmail.com>wrote:

> OK, if numpy is just subject to Python's behavior then what I'm seeing
> must be due to the vagaries of Python. I've noticed that things like
> removing a particular line of code or reordering seemingly unrelated calls
> (unrelated to the memory issue, that is) can affect when memory is reported
> as free. I'll just assume that everything is in order and carry on. Thanks!
>
>
If you are running interactively in IPython, references will be kept to
return values. That can eventually eat up memory if you are working with a
lot of big arrays.

<snip>

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20121113/f6c518a7/attachment.html 


More information about the NumPy-Discussion mailing list