Memory consumption grows as the number of unique terms grows. So in
addition to Darx's question, how many unique terms are in all the
fields you're faceting on?

Best
Erick

2011/3/21 newsam <new...@zju.edu.cn>:
> Hi,
>
> Here is my environment: 32bits windows server 2008 (4cpu and 12G RAM), 
> 320million docs, index size 12G.
>
> When we use query=*:* and 10 fields for faceted searching, it works. However, 
> 15 feilds or more faceted searching caused the following exception:
>
> java.lang.OutOfMemoryError: Java heap space at 
> org.apache.lucene.search.FieldCacheImpl$StringIndexCache.createValue(FieldCacheImpl.java:704)
>
> Any suggestions are welcomed!
>
> THx
>
>

Reply via email to