Re: Memory Leak IndexSearcher

2006-07-03 Thread Bruno Vieira
k. On Jul 3, 2006, at 12:33 PM, Bruno Vieira wrote: > Thanks for the answer, but I have isolated the cycle inside a loop > on a > static void main (String args[]) Class to test this issue.In this > case there > were no classes referencing the IndexSercher and the problem still >

Re: Memory Leak IndexSearcher

2006-07-03 Thread Bruno Vieira
eak then it will eventually fail with an OOM. If there is a memory leak, then it is probably because your code is holding on to IndexReader references in some static var or map. On Jul 3, 2006, at 9:43 AM, Bruno Vieira wrote: > Hi everyone, > > I am working on a project with around 35000 d

Memory Leak IndexSearcher

2006-07-03 Thread Bruno Vieira
Hi everyone, I am working on a project with around 35000 documents (8 text fields with 256 chars at most for each field) on lucene. But unfortunately this index is updated at every moment and I need that these new items be in the results of my search as fast as possible. I have an IndexSearcher,