This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Fwd: Re: [pylucene-dev] investigations
- From: Yura Smolsky <info at altervision dot biz>
- To: java at gcc dot gnu dot org
- Cc: Andi Vajda <vajda at osafoundation dot org>
- Date: Fri, 2 Sep 2005 19:07:29 +0300
- Subject: Fwd: Re: [pylucene-dev] investigations
- References: <166229531.20050902184141@altervision.biz><Pine.OSX.4.63.0509020855560.6437@zoe.local>
- Reply-to: Yura Smolsky <info at altervision dot biz>
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: Fri, 02 Sep 2005 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,