From: Bill Schneider <bschneider@vecna.com>
To: pgsql-jdbc@postgresql.org
Subject: JDBC memory usage
Date: Fri, 23 Jul 2004 14:20:07 -0400
Message-ID: <410156D7.50109@vecna.com> (raw)
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.
Thanks!
-- Bill
--
Bill Schneider
Chief Architect
Vecna Technologies
5004 Lehigh Rd., Suite B
College Park, MD 20740
bschneider@vecna.com
t: 301-864-7253 x1140
f: 301-699-3180
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: bschneider@vecna.com
Subject: Re: JDBC memory usage
In-Reply-To: <410156D7.50109@vecna.com>
References: <410156D7.50109@vecna.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