lucene-java-user mailing list archives

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

> does Lucene keep the complete index in memory ?

No.

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.

MIke

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message