[MATRIX-SIG] Memory Leak?
Pavlos Christoforou
pavlos@dionysos.physics.sunysb.edu
Wed, 7 Jan 1998 21:26:56 -0500 (EST)
I have installed Python-1.5 (final) and an old script now leaks. The
following code runs fine with python1.4 but leaks with python1.5
--------------------------------------------------------------------
import Numeric
a=Numeric.ones((10,2))
def test(data):
dat_max=[]
for i in range(3):
dat_max.append(data[i,:])
return dat_max
for i in range(100000):
m=test(a)
----------------------------------------------------------------
Any advice??
_______________
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________