[pylucene-dev] momery leak with PythonThread

Andi Vajda vajda at osafoundation.org
Thu Apr 27 08:42:59 PDT 2006


On Thu, 27 Apr 2006, Yura Smolsky wrote:

> Hello, Andi.
>
> AV> This is most likely a libgcj issue. You didn't tell us what version of gcj you
> AV> were using. You could try to verify this writing the same Java program and
> AV> compiling it with gcj.
> AV> The simple workaround is to use a thread pool (which is recommended over
> AV> creating new threads anyway).
>
> Also I tried this thing on RedHat:
> [icerocket at s29 ~]$ gcj --version
> gcj (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
>
> So, I suppose they have not fixed it yet :)
>
> Do you see these leaks on Mac OS ?

I haven't tried. It would be interesting to see if this happens with the 
same program written in Java and compiled with gcj.

Andi..


More information about the pylucene-dev mailing list