Hello ALL.
I have following program. It should starts threads and then frees
them. When I use for this task threading.Thread then there are not
leaks here. When I use PyLucene.PythonThread then I got very noticeable
memory leak.
PyLucene is last from trunk. Python is 2.4.2. Tested on winXP and debian
systems.
#!/usr/bin/python2.4
import PyLucene
import time
def funny(num):
l = []
l.append(num)
#time.sleep(0.001)
ths = []
for i in range(1000000):
th = PyLucene.PythonThread(target=funny, args=[i])
th.start()
Yura Smolsky,
http://altervisionmedia.com/
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev