lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: question about (problem with?) use of FieldCache$StringIndex
Date Fri, 26 Jun 2009 03:18:00 GMT

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 <ulf@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
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