[Python-Dev] Problems with the Python Memory Manager
Robert Kern
robert.kern at gmail.com
Thu Nov 24 10:59:57 CET 2005
Martin v. Löwis wrote:
> That the code is complex would not so much be a problem: we often
> analyse complex code here. It is a problem that the code is not
> available, and it would be a problem if the problem was not
> reproducable even if you had the code (i.e. if the problem would
> sometimes occur, but not the next day when you ran it again).
You can get the version of scipy_core just before the fix that Travis
applied:
svn co -r 1488 http://svn.scipy.org/svn/scipy_core/trunk
The fix:
http://projects.scipy.org/scipy/scipy_core/changeset/1489
http://projects.scipy.org/scipy/scipy_core/changeset/1490
Here's some code that eats up memory with rev1488, but not with the HEAD:
"""
import scipy
a = scipy.arange(10)
for i in xrange(10000000):
x = a[5]
"""
--
Robert Kern
robert.kern at gmail.com
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
More information about the Python-Dev
mailing list