Fwd: Re: [pylucene-dev] investigations

Yura Smolsky info@altervision.biz
Fri Sep 2 16:08:00 GMT 2005


Hello, java@gcc.gnu.org.
I am user of PyLucene lib which was built with gcc/gcj.
I have some interesting question.
Thanks in advance for the answer.
---------- Forward Message ----------
From: Andi Vajda <vajda@osafoundation.org>
To: Yura Smolsky <info@altervision.biz>, pylucene-dev@osafoundation.org
CC: 
Time: 2005年9月02日 10:58:11 -0500
Subj: [pylucene-dev] investigations
Attach: <none>
> 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 java@gnu.gcc.org 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..
---------- End of Forward ----------
Yura Smolsky,


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /