Re: out of memory error - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: out of memory error
Date
Msg-id Pine.BSO.4.64.0702021503230.26922@leary2.csoft.net
Whole thread Raw
In response to out of memory error  ("Wm.A.Stafford" <stafford@marine.rutgers.edu>)
List pgsql-jdbc

On Fri, 2 Feb 2007, Wm.A.Stafford wrote:

> I'm getting 'out of memory' errors when retrieving the entire contents of a
> reasonably large tables.  I spent an hour or so trying all the remedies that
> showed up via Google search for 'postgresql out of memory' and nothing seemed
> to work.  The two most often recommended were increasing Java heap size (I
> went up to 128m) and Statement.setFetchSize(1).  I saw no significant
> difference with either of these.

Are you satisfying all of the constraints that are mentioned here:

http://jdbc.postgresql.org/documentation/head/query.html#query-with-cursor

Kris Jurka


pgsql-jdbc by date:

Previous
From: "Wm.A.Stafford"
Date:
Subject: out of memory error
Next
From: "Robert Spies"
Date:
Subject: Jdbc3PoolingDataSource ssl question