Re: outOfMemoryError

From: Kris Jurka <books(at)ejurka(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: Vidas Makauskas <vms(at)centras(dot)lt>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: outOfMemoryError
Date: 2006-08-30 00:47:13
Message-ID: Pine.BSO.4.63.0608291944180.27471@leary2.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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.

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2006-08-30 02:47:08 Re: error: ResultSet.updateObject(timestamp in POSTGRES,
Previous Message Luis Vilar Flores 2006-08-29 22:02:34 Re: outOfMemoryError