lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: OutOfMemoryError using IndexWriter
Date Wed, 24 Jun 2009 15:53:31 GMT
On Wed, Jun 24, 2009 at 10:23 AM, stefan<> wrote:

> does Lucene keep the complete index in memory ?


Certain things (deleted docs, norms, field cache, terms index) are
loaded into memory, but these are tiny compared to what's not loaded
into memory (postings, stored docs, term vectors).

> As stated before the result index is 50MB, this would correlate with the memory footprint
required by Lucene as seen in my app:
> jvm 120MB - 50MB(Lucene) - 50MB(my App) = something left
> jvm 100MB - 50MB(Lucene) - 50MB(my App) = OOError

I think this is just coincidence.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message