[pylucene-dev] pylucene and 2gb limit of files

Yura Smolsky info at altervisionmedia.com
Thu Aug 10 10:33:31 PDT 2006

Hello, Andi.

>> Also, can I contribute pool of PythonThread classes into PyLucene? This class solves
>> problem (memory leak) of multiple recreation of PythonThread classes.
>> I think somebody asked same question here before. I have attached
>> class.
AV> Didn't I solve this bug in PyLucene 2.0 ?
AV> You had sent in a reproduction case and I fixed the leak in creating 
AV> PythonThread instances which had to do with some reference cycle.

Oh. Really... :) I have just checked 2.0.0-1 and it is okay in Linux!
But It has very noticeable leaks in windows. :( I guess all problems
around windows platform.

Here is simple example to reproduce the trouble.

Yura Smolsky,
-------------- next part --------------

from PyLucene import *
from Queue import *
import time

def realTask(num):

for i in xrange(1000000):
    th = PythonThread(target=realTask, args=(i,))

More information about the pylucene-dev mailing list