From: Kris Jurka <books@ejurka.com>
To: rstepha1@nycap.rr.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: OutOfMemoryError
Date: Mon, 29 Aug 2005 14:00:43 -0500 (EST)
Message-ID: <Pine.BSO.4.62.0508291400060.3816@leary.csoft.net> (raw)
In-Reply-To: <1803896180418d.180418d1803896@nyroc.rr.com>
References: <1803896180418d.180418d1803896@nyroc.rr.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, rstepha1@nycap.rr.com
Subject: Re: OutOfMemoryError
In-Reply-To: <Pine.BSO.4.62.0508291400060.3816@leary.csoft.net>
References: <1803896180418d.180418d1803896@nyroc.rr.com> <Pine.BSO.4.62.0508291400060.3816@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox