lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claudio R <user...@yahoo.com.br>
Subject OutOfMemoryError with FSDirectory
Date Sun, 03 Apr 2011 23:53:37 GMT
Hi,

I am using Lucene 2.9.4 with FSDirectory.
My index has 80 thousand documents (each document has 12 fields).
My jvm has 70Mb of RAM memory (limited by my hosting).
I am getting various OutOfMemoryError.
I ran jmap and I got:

num       #instances    #bytes    Class description
--------------------------------------------------------------------------
1:        275926    32074080    char[]
2:        657724    31570752    org.apache.lucene.index.FreqProxTermsWriter$PostingList
3:        200    16094896    org.apache.lucene.index.RawPostingList[]

The Lucene is consuming 47Mb of RAM memory.
Why there is this excessive memory consumption in FSDirectory?
Thanks.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message