Re: ERROR: out of memory DETAIL: Failed on request of size ???

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: ERROR: out of memory DETAIL: Failed on request of size ???
Дата
Msg-id 1e2e6b63947528f693dc54d38a2d0ca9.squirrel@sq.gransy.com
обсуждение исходный текст
Ответ на Re: ERROR: out of memory DETAIL: Failed on request of size ???  (Edson Richter <edsonrichter@hotmail.com>)
Список pgsql-general
Hi,

On 22 Listopad 2013, 20:09, Edson Richter wrote:
>
> Excuse me (or just ignore me) if it is a stupid question, but have you
> configured sysctl.conf accordingly?
> For instance, to use larget memory settings, I had to configure my EL as
> follows:
>
> # Controls the maximum shared segment size, in bytes
> kernel.shmmax = 68719476736
>
> # Controls the maximum number of shared memory segments, in pages
> kernel.shmall = 4294967296

This only influences shared memory, which is used for shared buffers (not
for memory allocated during query execution, as that's translated to plain
malloc). With sysctl.conf misconfigured, the database would not start at
all and you'd get a reasonable error message in the log, suggesting pretty
clearly where/how to fix it.

Tomas



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: "shared_buffers" and "temp_buffers" why manual and code are different?
Следующее
От: Vik Fearing
Дата:
Сообщение: Re: Getting non_NULL right-side values on a non-matching join?