Re: Memory exhaustion due to temporary tables?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Memory exhaustion due to temporary tables?
Дата
Msg-id 5039683d856d06b9cbfe20da029e274216558b26.camel@cybertec.at
обсуждение исходный текст
Ответ на Memory exhaustion due to temporary tables?  (Thomas Carroll <tomfecarroll@yahoo.com>)
Список pgsql-general
Thomas Carroll wrote:
> We have a situation where a long-persistent Postgres connection consumes more
> and more memory.  If ignored, we eventually get “Cannot allocate memory”
> errors in the Postgres log.  If still ignored, the box will eventually crash.
> This takes about 3 weeks to happen.  It issues a call to a single function
> about once every 15 seconds.  What can I do to prevent this outcome?

There should be a memory context dump in the log file.
What does it look like?

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com



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

Предыдущее
От: Thomas Carroll
Дата:
Сообщение: Memory exhaustion due to temporary tables?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Memory exhaustion due to temporary tables?