Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 24159 invoked from network); 9 Jun 2006 14:30:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2006 14:30:39 -0000 Received: (qmail 87711 invoked by uid 500); 9 Jun 2006 14:30:25 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 87646 invoked by uid 500); 9 Jun 2006 14:30:25 -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 87604 invoked by uid 99); 9 Jun 2006 14:30:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 07:30:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [63.100.163.104] (HELO hermes.corp.cyveillance.com) (63.100.163.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 07:30:24 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: searching multiple indexes in multiple servers. Date: Fri, 9 Jun 2006 10:30:03 -0400 Message-ID: <63434C14F9A6F74CB36B85033E4C30CA0255FAAA@hermes.corp.cyveillance.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: combining two query calls in one? Thread-Index: AcaLzLyD7gsOwPljSi2NEdEe2woHGgAAxCsA From: "Omar Didi" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, my index size has grown too much and I keep getting outOfMemoryError = after running few searches. I am using all the RAM that the JVM is = allowing me 2.6GB. I am left with two solutions now, the easy and expensive solution is to = upgrade the hardware to a 64-bit System and use more RAM. the other = solution is to split the index in let's say 3 indexes, deploy each index = on a different box. as I understand using a RemoteSearcher will require = opening the indexes with same Searcher, which will result in the = OutOfMemoryError(correct me if I am wrong). so each box will have it's = own searcher, I need to find a way to run a query on the 3 indexes and = combine the results based on the query criteria. has anyone done this before, and how was the performance?. is there = another way that I am missing?. thanks for the help,=20 for those who love soccer enjoy the world cup. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org