From: jao@geophile.com
To: Bill Schneider <bschneider@vecna.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC memory usage
Date: Fri, 23 Jul 2004 14:36:01 -0400
Message-ID: <1090607761.41015a91d8bd8@geophile.com> (raw)
In-Reply-To: <410156D7.50109@vecna.com>
References: <410156D7.50109@vecna.com>
Quoting Bill Schneider <bschneider@vecna.com>:
> Hello,
>
> I noticed that I keep running out of memory when trying to run a query
> that returns 100,000 rows or so.
>
> Searching the archives, it seems that the JDBC driver reads the entire
> ResultSet into memory at once rather than using cursors. This is
> definitely not the desired behavior for this particular query.
>
> Has this been fixed recently? I'm using PostgreSQL 7.3.4 with the
> corresponding JDBC driver.
I ran into this problem. The driver developers informed me that
this problem is fixed in 7.4, and that the new driver can be used
with a 7.3 server. (This exchange should be in the pgsql-jdbc
archives.)
Jack Orenstein
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
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: jao@geophile.com, bschneider@vecna.com
Subject: Re: JDBC memory usage
In-Reply-To: <1090607761.41015a91d8bd8@geophile.com>
References: <410156D7.50109@vecna.com> <1090607761.41015a91d8bd8@geophile.com>
* 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