lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: Java heap space
Date Mon, 15 May 2006 14:27:20 GMT
On 5/15/06, Marcus Stratmann <stratmann@gmx.de> wrote:

> The only situation I get OutOfMemory
> errors is after an optimize when the server performs an auto-warming
> of the cahces:

A single filter that is big enough to be represented as a bitset
(>3000 in general) will take up 1.3MB

Some ways to help memory:
  - increase the heap size ;-)
  - make sure you don't have autowarming for more than one searcher
happening at a time.  If this happens, you should see something in
your logs like "PERFORMANCE WARNING: Overlapping onDeckSearchers=2"
  - do omitNorms on every field you can... every field with norms will
take up 1 byte per document (11MB in your case)
  - make caches smaller if you can survive the performance hit... A
single filter that is represented as a BitSet will take up 1.3MB for
11M docs (and bigger in the case that maxDocs is larger tha numDocs
because of deletions).


-Yonik

Mime
View raw message