OutOfMemory when calling SegmentTermEnum.growBuffer(..) during search

2005-08-24 Thread Fredrik
We have a Lucene powered search with approx 1,2 million documents indexed. We get sporadic OutOfMemory errors when users search this index (have tried rebuilding the index several times from scratch), as Lucene tries to allocate over 500 MB of memory. Luke reports the following details: Number of

Re: OutOfMemory when calling SegmentTermEnum.growBuffer(..) during search

2005-08-24 Thread Daniel Naber
On Wednesday 24 August 2005 13:07, Fredrik wrote: bsh % i = d.openFile(copy.tii); bsh % print (i.readVInt()); 266338303 I haven't looked in the source, but according to the documentation the first value is supposed to be a version number: http://lucene.apache.org/java/docs/fileformats.html