This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd: Re: [pylucene-dev] investigations


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,



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]