Re: OutOfMemoryError - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: OutOfMemoryError
Date
Msg-id Pine.BSO.4.62.0508291400060.3816@leary.csoft.net
Whole thread Raw
In response to OutOfMemoryError  (rstepha1@nycap.rr.com)
List pgsql-jdbc

On Mon, 29 Aug 2005 rstepha1@nycap.rr.com wrote:

> I am having a problem with performing large selects and getting a
> java.lang.OutOfMemoryError.
>
> How do you get the driver to not retrieve all of the data into the
> ResultSet?  Is there a setting either within the JDBC driver, or at the
> database that would determine caching X number of rows returned at a time?
>

http://jdbc.postgresql.org/documentation/80/query.html#query-with-cursor

Kris Jurka

pgsql-jdbc by date:

Previous
From: rstepha1@nycap.rr.com
Date:
Subject: OutOfMemoryError
Next
From: Kris Jurka
Date:
Subject: Re: username and password for postgresql jdbc FTP site