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

From Tom Lane
Subject Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac
Date
Msg-id 19356.1418574771@sss.pgh.pa.us
Whole thread Raw
In response to Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac  (wetter wetterana <wetterana@gmail.com>)
List pgsql-general
wetter wetterana <wetterana@gmail.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


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac
Next
From: Tim Smith
Date:
Subject: Re: Database and OS monitoring