Yonik and Robert, thanks for the suggestions and pointer to the patch! We've looked at the synchronization involved with finalizers and don't see how it could cause the issue as running the finalizers themselves is outside the lock. The code inside the lock is simple fixed-time list manipulation, not even a loop. On the other hand, we don't see how anything else could cause the problem either.
We'll try the patch and let everybody know if it resolves the issue. Getting rid of the finalizer will hopefully at least circumvent the problem. Thanks! Chuck robert engels wrote on 12/15/2006 07:23 AM: > I don't think there is necessarily a limit, but I am assuming there is > some interaction between the finalizer or GC threads and adding new > finalizers, which would require some sort of synchronization. > > Do you use network resources in your app? I have a hunch this is > somehow the cause. > > > On Dec 15, 2006, at 11:20 AM, Yonik Seeley wrote: > >> On 12/15/06, robert engels <[EMAIL PROTECTED]> wrote: >>> If you could post a complete thread dump that would be better. >>> >>> I am "thinking" that it is not really a bug, but that the finalizer >>> or GC thread is very busy, or possibly blocked on a network resource, >>> and that is preventing the addition of additional finalizers. >> >> I didn't know there was a limit to the number of finalizers... but it >> certainly sounds plausible. >> I think we should still get rid of all the unnecessary finalizers in >> IndexInput though. >> >> -Yonik >> http://incubator.apache.org/solr Solr, the open-source Lucene search >> server >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]