From: Dave Cramer <pg@fastcrypt.com>
To: Kris Jurka <books@ejurka.com>
Cc: Vidas Makauskas <vms@centras.lt>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: outOfMemoryError
Date: Wed, 30 Aug 2006 08:36:07 -0400
Message-ID: <A45A5EE0-37AD-47D4-B578-12E3158901B0@fastcrypt.com> (raw)
In-Reply-To: <Pine.BSO.4.63.0608291944180.27471@leary2.csoft.net>
References: <ed0ra2$5ct$1@news.hub.org>
<6E13F8E6-8D37-4D2D-833D-AFFD87BF22B8@fastcrypt.com>
<ed1evf$1lqb$1@news.hub.org>
<DE16CA8B-FB61-429B-92B3-D859DA009E3D@fastcrypt.com>
<Pine.BSO.4.63.0608291944180.27471@leary2.csoft.net>
On 29-Aug-06, at 8:47 PM, Kris Jurka wrote:
>
>
> On Tue, 29 Aug 2006, Dave Cramer wrote:
>
>> This design is limited by memory.
>>
>> You would be far better off inserting directly instead of using a
>> ResultSet
>
> Actually I think there is a point to be made here. If the
> ResultSet is not scrollable then there is no need to store all the
> inserts that are made to it, so there should be no memory limit.
True, but this is hardly documented. It also suggests adding
complexity for a special case.
>
> Kris Jurka
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
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: pg@fastcrypt.com, books@ejurka.com, vms@centras.lt
Subject: Re: outOfMemoryError
In-Reply-To: <A45A5EE0-37AD-47D4-B578-12E3158901B0@fastcrypt.com>
References: <ed0ra2$5ct$1@news.hub.org> <6E13F8E6-8D37-4D2D-833D-AFFD87BF22B8@fastcrypt.com> <ed1evf$1lqb$1@news.hub.org> <DE16CA8B-FB61-429B-92B3-D859DA009E3D@fastcrypt.com> <Pine.BSO.4.63.0608291944180.27471@leary2.csoft.net> <A45A5EE0-37AD-47D4-B578-12E3158901B0@fastcrypt.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