Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 40829 invoked from network); 13 Mar 2008 15:04:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2008 15:04:05 -0000 Received: (qmail 15060 invoked by uid 500); 13 Mar 2008 15:03:56 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 15046 invoked by uid 500); 13 Mar 2008 15:03:56 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 15029 invoked by uid 99); 13 Mar 2008 15:03:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2008 08:03:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of larry.meadors@gmail.com designates 209.85.200.172 as permitted sender) Received: from [209.85.200.172] (HELO wf-out-1314.google.com) (209.85.200.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2008 15:03:18 +0000 Received: by wf-out-1314.google.com with SMTP id 25so3428455wfc.27 for ; Thu, 13 Mar 2008 08:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=p8xZe59Q0RLj4uHbsjwyZzk0N7RqIyFywbO68hytpIw=; b=xajhMW1o+Uh4MBoEQs8UsQQQKcGU1Rw1VXqzKwCWm+0SyhX9RkKsWCOadnmKGzRM4O+tHkCBo66AqtLJR2q5GADkmMIQCXOlvgfu3crvGBH1nw7tmDHbRXnWHDi4qzx6XwnMhhMyuPCwDG76EMOWGMM2DpTCEj1Y7CyidTVX3Z0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mNGTC9ZR0416mtKEIig5eWdLBrURI4LqZgQa5LfOgIsdbnoVdZc3aSilBAzKL4zAgfPcI9SAbQ5U67c7z3jIuUWd7f28bnoSR1KNeca2EfGh4QhV943oUrG0Fukz4PwS5DLYleSj/ymmZHmZX9S07dnLNyx6YiZGHTH19nLPFQc= Received: by 10.142.90.16 with SMTP id n16mr4222456wfb.70.1205420609456; Thu, 13 Mar 2008 08:03:29 -0700 (PDT) Received: by 10.67.119.12 with HTTP; Thu, 13 Mar 2008 08:03:29 -0700 (PDT) Message-ID: Date: Thu, 13 Mar 2008 09:03:29 -0600 From: "Larry Meadors" Reply-To: larry.meadors@gmail.com To: user-java@ibatis.apache.org Subject: Re: select * causing " OutOfMemoryError: Java heap space" In-Reply-To: <169988.49561.qm@web32402.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <169988.49561.qm@web32402.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Do you need to have *all* of the rows in memory at one time? Larry On Thu, Mar 13, 2008 at 8:03 AM, nch wrote: > > Hi, everybody. > I'm testing the Compass search engine and, in particular, how to index a big > set of documents from a table in a MySQL database. In order to do this I > issue a "select * from table_name" using iBatis, but this seems to be > causing the application to use all heap space available. > I added a new entry into Compass user forum with details: > http://forum.compass-project.org/thread.jspa?threadID=215278 > > Can you figure out why is this happening? > > Many thanks > > > ________________________________ > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now.