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 6968B17909 for ; Fri, 7 Nov 2014 13:12:41 +0000 (UTC) Received: (qmail 16023 invoked by uid 500); 7 Nov 2014 13:12:37 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 15940 invoked by uid 500); 7 Nov 2014 13:12:37 -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 15927 invoked by uid 99); 7 Nov 2014 13:12:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2014 13:12:37 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yago.riveiro@gmail.com designates 209.85.216.181 as permitted sender) Received: from [209.85.216.181] (HELO mail-qc0-f181.google.com) (209.85.216.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2014 13:12:10 +0000 Received: by mail-qc0-f181.google.com with SMTP id w7so2398122qcr.26 for ; Fri, 07 Nov 2014 05:09:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:mime-version:message-id:in-reply-to:references:from:to:cc :subject:content-type; bh=++pxvbPmopiZu81D0cz69+TntBKNeCrNHxezYL32V90=; b=XNnNPqH9OEAvIv0ry1I0i0DLYtbM9Izf3E72JT4Nve2KLouQw3TSTvQAhXXHYEtE1t 2/OgZ+9+1CHHA5Y5FdsoNVH/0cPM8JrTszrhu4GqaV7AkryTyxBXsEceyuLwLc3keZZz ieYkw6qM2cbYWBx5GDLbeU4kdAQ90MyEAbsRI+qroDPPhZHSLjVnzHP2jQqGap2QwqkL jgVWa9OS41BuNtU3q1qcJzihN1ZaNNzVxAoq5tRBs8Ccl2mOXacGLoBUCE8L8Np7GIg8 yj4/Qq9Vgh8wTf7KLrf410bOmzNHIuyB4XT8leTTepdRrUWlnTxIMik77TbV6WsCdv6P FEKQ== X-Received: by 10.224.119.195 with SMTP id a3mr17293505qar.19.1415365792873; Fri, 07 Nov 2014 05:09:52 -0800 (PST) Received: from hedwig-34.prd.orcali.com (ec2-54-85-253-251.compute-1.amazonaws.com. [54.85.253.251]) by mx.google.com with ESMTPSA id k4sm8358350qaf.0.2014.11.07.05.09.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Nov 2014 05:09:52 -0800 (PST) Date: Fri, 07 Nov 2014 05:09:52 -0800 (PST) X-Google-Original-Date: Fri, 07 Nov 2014 13:09:52 GMT MIME-Version: 1.0 X-Mailer: Nodemailer (0.5.0; +http://www.nodemailer.com/) Message-Id: <1415365792067.b9ad057c@Nodemailer> In-Reply-To: <1415364281138-4168156.post@n3.nabble.com> References: <1415364281138-4168156.post@n3.nabble.com> X-Orchestra-Oid: EF314683-DF87-4C44-A03F-94B76081A52F X-Orchestra-Sig: 43a0f6e0db221235b0f8d3b246e9041f8108753b X-Orchestra-Thrid: T41169347-4F2D-4BC6-8A50-04AE675F618E_1484117049451397391 X-Orchestra-Thrid-Sig: e8221a0c2194d5770a34415acf844870fa6982f6 X-Orchestra-Account: b65ea71bf97a16a0ac9db99f9ba44cb47c60d369 From: "Yago Riveiro" To: solr-user@lucene.apache.org Cc: solr-user@lucene.apache.org Subject: Re: out of memory when trying to sort by id in a 1.5 billion index Content-Type: multipart/alternative; boundary="----Nodemailer-0.5.0-?=_1-1415365792426" X-Virus-Checked: Checked by ClamAV on apache.org ------Nodemailer-0.5.0-?=_1-1415365792426 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable For sorting DocValues are the best option I think. =E2=80=94 /Yago Riveiro On Fri, Nov 7, 2014 at 12:45 PM, adfel70 wrote: > hi > I have 11 machines in my cluster. > each machine 128GB memory, 2 solr jvm's with 12gb heap each. > cluster has 7 shard, 3 replicas. > 1.5 billion docs total. > most user queries are pretty simple for now, sorting by date fields and > another field the has around 1000 unique values. > I have a usecase for using cursorpage and when tried to check this, I = got > outOfMemory just for sorting by id. > I read in old posts that I should add heap memory, and I can do that, but= I > would rather not . > All other usecases I have are using stable 8gb heap . > Any other way to handle this in solr 4.8=3F > -- > View this message in context: http://lucene.472066.n3.nabble.= com/out-of-memory-when-trying-to-sort-by-id-in-a-1-5-billion-index-tp416815= 6.html > Sent from the Solr - User mailing list archive at Nabble.com. ------Nodemailer-0.5.0-?=_1-1415365792426--