[pylucene-dev] java core dump -- can't allocate larger thread table

Andi Vajda vajda at osafoundation.org
Fri Mar 28 18:39:48 PDT 2008


On Fri, 28 Mar 2008, Bill Janssen wrote:

> Hmmm.  I just core-dumped my Python, but it's a PyLucene Java problem:
>
> Java information:
> Version: Java HotSpot(TM) Client VM (1.5.0_13-119 mixed mode, sharing)
> Virtual Machine version: Java HotSpot(TM) Client VM (1.5.0_13-119) for macosx-x86, built on Sep 28 2007 23:59:21 by root with gcc 4.0.1 (Apple Inc. build 5465)
> Exception type: Internal Error (/SourceCache/HotSpot15/HotSpot15-119/src/share/vm/runtime/thread.cpp, line 3628)
>
> Error message: failed to allocate larger thread table
> Current thread (0x07a90e00):  JavaThread  [_thread_in_vm, id=-1336360960]
> Stack: [0xb050c000,0xb058c000)
> Java Threads: ( => current thread )
> =>0x07a90e00 JavaThread  [_thread_in_vm, id=-1336360960]
>  0x07a90a10 JavaThread "Thread-73" daemon [_thread_in_native, id=-1335828480]
>  [...]
>
> This is OS X 10.5.2, Java 1.5.0_13, which I believe is the latest
> Apple release.  JCC 1.8, PyLucene 2.3.1.

Ouch. Maybe you can workaround the problem by reusing threads from a pool 
instead of allocating 73 of them ?

Andi..


More information about the pylucene-dev mailing list