Ah, the trusted LIA... :)

FieldCache class is used for sorting.  Are you sorting by a few different 
fields by any chance?

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: Ulf Dittmer <u...@ulfdittmer.com>
> To: java-user@lucene.apache.org
> Sent: Thursday, June 25, 2009 5:13:48 PM
> Subject: question about (problem with?) use of FieldCache$StringIndex
> 
> Hello-
> 
> We're looking at memory issues we're having with a fair-sized web app that 
> uses 
> Lucene for search. While looking at heap dumps, we discovered that there were 
> 3 
> instances of org.apache.lucene.search.FieldCache$StringIndex, each about 
> 110MB 
> in size (out of a total of 1 GB).
> 
> Looking at the javadocs, I'm not real clear what the class does, but it 
> doesn't 
> seem to have any settings one could change. So I'm wondering: Is it normal to 
> have more than one instance of this? Is it necessary? Are there circumstances 
> in 
> which this could be avoided? If we can't avoid it being used: are there ways 
> of 
> making it use less memory?
> 
> Thanks in advance for any clue. The trusted "Lucene In Action" doesn't talk 
> about the class, and our code doesn't use it directly, so I'm a bit stumped.
> 
> Ulf
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org


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

Reply via email to