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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac
Дата
Msg-id 19356.1418574771@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac  (wetter wetterana <wetterana@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac
Следующее
От: Tim Smith
Дата:
Сообщение: Re: Database and OS monitoring