Re: Cannot allocate memory for output buffer

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cannot allocate memory for output buffer
Дата
Msg-id 21941.1259363549@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Cannot allocate memory for output buffer  (Peter Erickson <redlamb@redlamb.net>)
Список pgsql-general
Peter Erickson <redlamb@redlamb.net> writes:
> Thanks. Out of curiosity, if memory exhaustion was the problem, any idea
> why the task manager would show that I'm only using 1.2GB of the 3GB of
> memory?

Well, it would've failed to allocate the next copy of the string that it
needed ... and I think also we try to keep the output buffer size at a
power of 2, so it might have been asking for 2GB for the output buffer.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: empty string causes planner to avoid index. Makes me sad.
Следующее
От: Daniel Schuchardt
Дата:
Сообщение: Re: Access a Field / Column of a resultset by Number