Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 33654 invoked from network); 25 Jun 2009 21:14:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 21:14:07 -0000 Received: (qmail 17208 invoked by uid 500); 25 Jun 2009 21:14:16 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 17117 invoked by uid 500); 25 Jun 2009 21:14:15 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 17107 invoked by uid 99); 25 Jun 2009 21:14:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 21:14:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [75.126.81.220] (HELO sl1001v3.webappcabaret.net) (75.126.81.220) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 21:14:05 +0000 Received: (qmail 9444 invoked from network); 26 Jun 2009 01:13:43 +0400 Received: from e178146076.adsl.alicedsl.de (HELO ?10.0.1.2?) (85.178.146.76) by 75.126.81.220 with SMTP; 26 Jun 2009 01:13:43 +0400 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: java-user@lucene.apache.org From: Ulf Dittmer Subject: question about (problem with?) use of FieldCache$StringIndex Date: Thu, 25 Jun 2009 23:13:48 +0200 X-Mailer: Apple Mail (2.753.1) X-Virus-Checked: Checked by ClamAV on apache.org 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