Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 46438 invoked from network); 26 Jun 2009 03:18:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jun 2009 03:18:29 -0000 Received: (qmail 90281 invoked by uid 500); 26 Jun 2009 03:18:38 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 90064 invoked by uid 500); 26 Jun 2009 03:18:36 -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 90054 invoked by uid 99); 26 Jun 2009 03:18:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2009 03:18:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.38.55] (HELO web50301.mail.re2.yahoo.com) (206.190.38.55) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 26 Jun 2009 03:18:23 +0000 Received: (qmail 33537 invoked by uid 60001); 26 Jun 2009 03:18:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1245986280; bh=hvW4eE0MfzYITzka8UpvFkXqPO6PYMq49xhBrkNCo9U=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ck3hJfSUxqff+CFTn86MVJqt0v6vL2J2HaZrpBf3/yXh3Yeo99HmVehLP+qunEHcJyHXnKKaU0u43QF98KcIo0PpAVO69a+h2Bu41SVZ6f5vEcUh/K8AFml2NdYpn2nme3LzMkBzORq2HhBvWil28udiAB7+RgLcWFVOxFDUI5s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=SysB71XUtAgD3mfX2/ib88HP1OIOztI1puwABtENUCDP4LVKFY7mhmwXFhiFiLcs0XMb1rEIYh+CJyvj19UafWG2vJ/4JJhAoP2yVhiSR1+xsbTxpCzyQ/rlzxJw3RboSn3Kx026t3hENsclcfsbRg9KpZ2Qcww1dRkyaPhsJsQ=; Message-ID: <839283.33435.qm@web50301.mail.re2.yahoo.com> X-YMail-OSG: X.XnN9YVM1l1YR43yRd6nsXBj5KAWqgKOk7j7VuLKT7vRz.peHsKNWE5sjBxbearYQc_DUz7yW_d9TWl5_xWk_kNe8y2duQGM.4ZUgUqhaTdHvfK2O0EZfhGIqb.69kaGNVDkGdb.djvtbsWsDmfzGKZOLFpGT_jLffi.A_uI0M24YxusKgfRUymEIoVY5.uPaNazPkvHB7mIzCGr7Gh_kwVysTcCzY1zkUI7NgKSeeqSFUTm1cOC3_qIZnrDL7FZS.J1uBS6tUMgW0kfTMTHpInloNFPxFeg6xDBT7UhC0c6V6vGwJIlYHyLx1Yt5hbQzXA6IqPv_TRNaP9YaA3clj5TOEN1SI.SXA10g-- Received: from [74.73.30.59] by web50301.mail.re2.yahoo.com via HTTP; Thu, 25 Jun 2009 20:18:00 PDT X-Mailer: YahooMailRC/1277.43 YahooMailWebService/0.7.289.15 References: Date: Thu, 25 Jun 2009 20:18:00 -0700 (PDT) From: Otis Gospodnetic Subject: Re: question about (problem with?) use of FieldCache$StringIndex To: java-user@lucene.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org 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 > 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