Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82059E23A for ; Wed, 9 Jan 2013 20:09:39 +0000 (UTC) Received: (qmail 78154 invoked by uid 500); 9 Jan 2013 20:09:36 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 78108 invoked by uid 500); 9 Jan 2013 20:09:36 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 78099 invoked by uid 99); 9 Jan 2013 20:09:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 20:09:36 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of otis.gospodnetic@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 20:09:31 +0000 Received: by mail-ob0-f176.google.com with SMTP id un3so2622786obb.35 for ; Wed, 09 Jan 2013 12:09:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=eMl8v95yhnl9plcnbgNojjVsHyTYlfok/stBg9BjRA8=; b=IW0zGBu0UrwuejHLwGSObjUd8sMDOIn7z0KxDxMv2/5QTvJOW+NPqRAd4u4JjgIwxT +0xzUWk2+PllgN9FL55MxMN2jUYsK6nQk+Ghur29ruuF5jkEDqYzJfjb8zHKA6ydeuVQ ThegUpx27Pb7PW5Tva8m4ryg3GF+6JaGriRRjC2WT/Q18OPm/QU59zBBx5O2jyk4EQ5E UHqr95NS0A7jSirDp17lY2GWXfbe5+JlNtl07D9+w8EcLyzh4F+8R2ZZK5L2+Y4RnXJF ln1zHyHEti2fbF6rNI0AwMQBGf96dyAya8bhRB/O4vh4PHFnaNHPS5Lk0i5ugRS6gnET g01Q== MIME-Version: 1.0 Received: by 10.60.172.113 with SMTP id bb17mr41173394oec.110.1357762150574; Wed, 09 Jan 2013 12:09:10 -0800 (PST) Received: by 10.76.79.163 with HTTP; Wed, 9 Jan 2013 12:09:10 -0800 (PST) In-Reply-To: <1357746645135-4031895.post@n3.nabble.com> References: <1357746645135-4031895.post@n3.nabble.com> Date: Wed, 9 Jan 2013 15:09:10 -0500 Message-ID: Subject: Re: massive memory consumption of grouping feature From: Otis Gospodnetic To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=bcaec54d4028acac1e04d2e0a208 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54d4028acac1e04d2e0a208 Content-Type: text/plain; charset=ISO-8859-1 Hello Class, How is the memory consumption when you do not use grouping *at all*, meaning you start Solr and run all your queries, but with group=false? Maybe it's not grouping that's the (main) "problem", but simply a Solr upgrade in general. Otis -- Solr & ElasticSearch Support http://sematext.com/ On Wed, Jan 9, 2013 at 10:50 AM, clawu01 wrote: > Hello, > > we are upgrading solr from 1.3 to 4.0. > In solr 1.3 we used the SOLR-236 patch to realize grouping/ field > collapsing. > We did not have a memory issue with the field collapsing feature in our 1.3 > version. > However, we do now. The query looks something like this: > > > http://localhost:8983/solr/select?fl=*,score&group.ngroups=true&group.limit=-1&group.field=someGroupingField&group=true&fq=someField:someValue&fq=anotherField:anotherValue&wt=xml&fq=thirdField:[0+TO+1]&rows=30000 > > as you can see the q parameter is empty, but it does not make a difference > if I query for q=someValue+anotherValue > > The result returns: > 3772 > 2175 > > We have a memory consumption of about 4G. What causes this massive memory > consumption? How can it be reduced? > > Regards, > > Claas > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/massive-memory-consumption-of-grouping-feature-tp4031895.html > Sent from the Solr - User mailing list archive at Nabble.com. > --bcaec54d4028acac1e04d2e0a208--