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
Ответ на
Список
Дерево обсуждения
Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac wetter wetterana <wetterana@gmail.com>
Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac Adrian Klaver <adrian.klaver@aklaver.com>
Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac Andy Colson <andy@squeakycode.net>
Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac Adrian Klaver <adrian.klaver@aklaver.com>
Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac Andy Colson <andy@squeakycode.net>
Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac Andy Colson <andy@squeakycode.net>
Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac wetter wetterana <wetterana@gmail.com>
Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac Tom Lane <tgl@sss.pgh.pa.us>
Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac Adrian Klaver <adrian.klaver@aklaver.com>
Re: Error: "Out of memory while reading tuples." in pushing table from SAS to PostgreSQL on Mac Gavin Flower <GavinFlower@archidevsys.co.nz>
wetter wetterana  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
Дата:
От: Tim Smith
Дата:
Сообщение: Re: Database and OS monitoring
FAQ