ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nch <underscore_...@yahoo.com>
Subject Re: select * causing " OutOfMemoryError: Java heap space"
Date Thu, 13 Mar 2008 15:30:21 GMT

So iBatis does't have any sort of pagination mechanism to avoid filling up the heap in this
sort of situations?
In such case I should try to implement my own pagination or try to use Hibernate only for
this purpose.

Thank you

Larry Meadors <larry.meadors@gmail.com> wrote: Do you need to have *all* of the rows
in memory at one time?


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.

Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
View raw message