pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Wm.A.Stafford <stafford@marine.rutgers.edu>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: out of memory error
Date: Fri, 2 Feb 2007 15:04:41 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0702021503230.26922@leary2.csoft.net> (raw)
In-Reply-To: <45C3913A.40607@marine.rutgers.edu>
References: <45C3913A.40607@marine.rutgers.edu>



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




view thread (4+ messages)

Message-ID: <Pine.BSO.4.64.0702021503230.26922@leary2.csoft.net>
Permalink:  ../Pine.BSO.4.64.0702021503230.26922@leary2.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0702021503230.26922@leary2.csoft.net

 · 

reply

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: books@ejurka.com, stafford@marine.rutgers.edu
  Subject: Re: out of memory error
  In-Reply-To: <Pine.BSO.4.64.0702021503230.26922@leary2.csoft.net>
  References: <45C3913A.40607@marine.rutgers.edu> <Pine.BSO.4.64.0702021503230.26922@leary2.csoft.net>

* 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