[Numpy-tickets] [NumPy] #830: Divide by zero memory leak
NumPy
numpy-tickets@scipy....
Mon Mar 2 06:39:12 CST 2009
#830: Divide by zero memory leak
------------------------+---------------------------------------------------
Reporter: cdavid | Owner: cdavid
Type: defect | Status: assigned
Priority: normal | Milestone: 1.3.0
Component: numpy.core | Version: none
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Old description:
> See ticket 493 from scipy trac
>
> Dividing by zero (e.g. 1/scipy.float64(0.)) yields scipy.inf as it is
> supposed to, but leaks memory in the process.
>
> I'll attach a sample program where memory usage grows without bound.
>
> {{{
> #!python1
> import scipy
> x = scipy.float64(0.)
> while 1:
> 1/x
> }}}
New description:
See ticket 493 from scipy trac
Dividing by zero (e.g. 1/scipy.float64(0.)) yields scipy.inf as it is
supposed to, but leaks memory in the process.
I'll attach a sample program where memory usage grows without bound.
{{{
#!python
import scipy
x = scipy.float64(0.)
while 1:
1/x
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/830#comment:9>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list