[Numpy-discussion] Vectorize leaks

David Huard david.huard@gmail....
Mon Aug 13 19:14:12 CDT 2007


Hi Chris,

Same problem for ubuntu linux.

Darn, I spent an hour tracking this bug and now I see you found it before...

2007/8/13, Chris Fonnesbeck <listservs@mac.com>:
>
> I have narrowed a memory leak in PyMC down to the vectorize() function
> in numpy. I have a simple inverse logit transformation function:
>
> invlogit = lambda x: 1.0 / (1.0 + exp(-1.0 * x))
>
> which runs without leaking when used iteratively during simulations.
> However, when I try to vectorize it, the process' rsize grows each
> iteration of the simulation.
>
> Using a recent (<2 days old) svn build of numpy on OS X 10.4.
>
> C.
>
>
>
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20070813/f20ec381/attachment.html 


More information about the Numpy-discussion mailing list