Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 265546460 for ; Tue, 14 Jun 2011 01:53:10 +0000 (UTC) Received: (qmail 50010 invoked by uid 500); 14 Jun 2011 01:53:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 49956 invoked by uid 500); 14 Jun 2011 01:53:08 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 49947 invoked by uid 99); 14 Jun 2011 01:53:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 01:53:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 01:53:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 735DF414997 for ; Tue, 14 Jun 2011 01:52:47 +0000 (UTC) Date: Tue, 14 Jun 2011 01:52:47 +0000 (UTC) From: "Vadim Geshel (JIRA)" To: dev@lucene.apache.org Message-ID: <1830495235.1325.1308016367469.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1853067744.52055.1306689167346.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (SOLR-2554) RandomSortField values are cached in the FieldCache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vadim Geshel reopened SOLR-2554: -------------------------------- Sorry, I should have been more specific. This happens if you use a RandomSortField in a query, not as a sort criterion: http://localhost:8983/solr/select/?q={!func}random_foo You should immediately see this in stats.jsp#cache, I see this: entry#1 : 'org.apache.lucene.store.MMapDirectory$MMapIndexInput@37f02eaa'=>'random_foo',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#2138852435 I'm using Solr 3.1 > RandomSortField values are cached in the FieldCache > --------------------------------------------------- > > Key: SOLR-2554 > URL: https://issues.apache.org/jira/browse/SOLR-2554 > Project: Solr > Issue Type: Bug > Components: search > Affects Versions: 3.1 > Reporter: Vadim Geshel > > The values of RandomSortField get cached in the FieldCache. When using many RandomSortFields over time, this leads to running out of memory. > This may be one of the cases already covered in SOLR-1111 but I'm not sure. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org