Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: wetter wetterana <wetterana(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac
Date: 2014-12-14 16:32:51
Message-ID: 19356.1418574771@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

wetter wetterana <wetterana(at)gmail(dot)com> writes:
> Help much appreciated!

The out-of-memory situation is definitely happening on the client side,
not the server side. A problem happening in the server would not result
in a message spelled quite that way, and it would not use an HY000 error
code either.

A plausible guess is that you're trying to retrieve more rows in a single
query than your client-side environment can hold in memory. You could
break up the query, or convert to a cursor with which you fetch a few rows
at a time.

Not knowing anything much about your client-side software stack, it's
hard to be more specific than that.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tim Smith 2014-12-14 17:13:24 Re: Database and OS monitoring
Previous Message Adrian Klaver 2014-12-14 16:25:28 Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac