[pylucene-dev] java core dump -- can't allocate larger thread
table
Andi Vajda
vajda at osafoundation.org
Fri Mar 28 19:06:16 PDT 2008
On Fri, 28 Mar 2008, Bill Janssen wrote:
>> Ouch. Maybe you can workaround the problem by reusing threads from a pool
>> instead of allocating 73 of them ?
>
> More like 80. But each thread should "die" and be GC'd, so the VM is
> supposed to be maintaining that thread pool. I wonder if in fact they
> are not being GC'd.
Quite possibly so. Are you calling env.detachCurrentThread() from the
threads as they terminate ? (this has been crashy, be sure to release all
objects that point to java objects from that thread first).
Andi..
More information about the pylucene-dev
mailing list