Re: need help on memory allocation

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: need help on memory allocation
Дата
Msg-id 1516356455.2491.5.camel@cybertec.at
обсуждение исходный текст
Ответ на need help on memory allocation  (Rambabu V <ram.wissen@gmail.com>)
Список pgsql-performance
Rambabu V wrote:
> we are seeing idle sessions consuming memory in our database, could you please help me
> how much memory an idle session can use max and how can we find how much work_mem
> consuming for single process.
> 
> we are getting out of memory error,for this i'm asking above questions.

Are you sure that you see the private memory of the process and not the
shared memory common to all processes?

An "idle" connection should not hav a lot of private memory.

If you get OOM on the server, the log entry with the memory context dump
might be useful information.

Yours,
Laurenz Albe



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: pgaudit and create postgis extension logs a lot inserts
Следующее
От: Svensson Peter
Дата:
Сообщение: SV: pgaudit and create postgis extension logs a lot inserts