I have found that PyLucene produces much more leaks under linux when
its run from forked process:
       newpid = os.fork()
       if newpid == 0:
           child_process()
       else:
           os.getpid()

I run SimpleXMLRPCServer with PyLucene threads and perform some
searches inside of them
When I run script without forking leaks are like 20mb per 30 minutes
and with forking they are about 120mb per 30 minutes.

Any ideas why forking increases leaks?

No, but I bet Hans Boehm or someone at [EMAIL PROTECTED] could shed some light on this. Good find !

So far, these leaks have been only been reported on Linux, so it's got to be something between gcc/gcj and Linux...

Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to