Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 30071 invoked from network); 24 Nov 2008 23:28:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Nov 2008 23:28:18 -0000 Received: (qmail 5354 invoked by uid 500); 24 Nov 2008 23:28:21 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 5309 invoked by uid 500); 24 Nov 2008 23:28:20 -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 5298 invoked by uid 99); 24 Nov 2008 23:28:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2008 15:28:20 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [61.95.162.82] (HELO kecgate06.infosys.com) (61.95.162.82) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2008 23:26:55 +0000 X-TM-IMSS-Message-ID: <7f40be6c0002b79e@kecgate06.infosys.com> Received: from blrkechub01.ad.infosys.com ([10.66.236.41]) by kecgate06.infosys.com ([61.95.162.82]) with ESMTP (TREND IMSS SMTP Service 7.0; TLS: TLSv1/SSLv3,128bits,RC4-MD5) id 7f40be6c0002b79e ; Tue, 25 Nov 2008 04:56:35 +0530 Received: from BLRKECMBX03.ad.infosys.com ([10.66.236.23]) by blrkechub01.ad.infosys.com ([10.66.236.41]) with mapi; Tue, 25 Nov 2008 04:56:35 +0530 From: souravm To: "solr-user@lucene.apache.org" Date: Tue, 25 Nov 2008 04:56:25 +0530 Subject: Sorting and JVM heap size .... Thread-Topic: Sorting and JVM heap size .... Thread-Index: AclOiehoLMLQ0WfMTyW79bL/nE3nGQAASr6g Message-ID: <5FDD79D8731F4A4B87487A5A85327B8204263924D4@BLRKECMBX03.ad.infosys.com> References: <2cb36d4a0811241510s8ffd274u350490f0f8c92b26@mail.gmail.com> In-Reply-To: <2cb36d4a0811241510s8ffd274u350490f0f8c92b26@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I=20have=20indexed=20data=20of=20size=20around=2020GB.=20My=20JVM=20memor= y=20is=201.5GB. For=20this=20data=20if=20I=20do=20a=20query=20with=20sort=20flag=20on=20(= for=20a=20single=20field)=20I=20always=20get=20java=20out=20of=20memory= =20exception=20even=20if=20the=20number=20of=20hit=20is=200.=20With=20no= =20sorting=20(or=20default=20sorting=20with=20score)=20the=20query=20work= s=20perfectly=20fine.` I=20can=20understand=20that=20JVM=20heap=20size=20can=20max=20out=20when= =20the=20number=20of=20records=20hit=20is=20high,=20but=20why=20this=20is= =20happening=20even=20when=20number=20of=20records=20hit=20is=200=20? The=20same=20query=20with=20sort=20flag=20on=20does=20not=20give=20me=20p= roblem=20till=201.5=20GB=20of=20data. Any=20explanation=20? Regards, Sourav ****************=20CAUTION=20-=20Disclaimer=20***************** This=20e-mail=20contains=20PRIVILEGED=20AND=20CONFIDENTIAL=20INFORMATION= =20intended=20solely=20 for=20the=20use=20of=20the=20addressee(s).=20If=20you=20are=20not=20the= =20intended=20recipient,=20please=20 notify=20the=20sender=20by=20e-mail=20and=20delete=20the=20original=20mes= sage.=20Further,=20you=20are=20not=20 to=20copy,=20disclose,=20or=20distribute=20this=20e-mail=20or=20its=20con= tents=20to=20any=20other=20person=20and=20 any=20such=20actions=20are=20unlawful.=20This=20e-mail=20may=20contain=20= viruses.=20Infosys=20has=20taken=20 every=20reasonable=20precaution=20to=20minimize=20this=20risk,=20but=20is= =20not=20liable=20for=20any=20damage=20 you=20may=20sustain=20as=20a=20result=20of=20any=20virus=20in=20this=20e-= mail.=20You=20should=20carry=20out=20your=20 own=20virus=20checks=20before=20opening=20the=20e-mail=20or=20attachment.= =20Infosys=20reserves=20the=20 right=20to=20monitor=20and=20review=20the=20content=20of=20all=20messages= =20sent=20to=20or=20from=20this=20e-mail=20 address.=20Messages=20sent=20to=20or=20from=20this=20e-mail=20address=20m= ay=20be=20stored=20on=20the=20 Infosys=20e-mail=20system. ***INFOSYS********=20End=20of=20Disclaimer=20********INFOSYS***