Re: Abnormally high memory usage/OOM triggered

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Abnormally high memory usage/OOM triggered
Дата
Msg-id
3138.1516234520@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Abnormally high memory usage/OOM triggered Davlet Panech <dpanech@gmail.com>
Re: Abnormally high memory usage/OOM triggered Tom Lane <tgl@sss.pgh.pa.us>
Re: Abnormally high memory usage/OOM triggered scott ribe <scott_ribe@elevated-dev.com>
Re: Abnormally high memory usage/OOM triggered Davlet Panech <dpanech@gmail.com>
Re: Abnormally high memory usage/OOM triggered scott ribe <scott_ribe@elevated-dev.com>
Re: Abnormally high memory usage/OOM triggered Tom Lane <tgl@sss.pgh.pa.us>
Re: Abnormally high memory usage/OOM triggered Keith <keith@keithf4.com>
Re: Abnormally high memory usage/OOM triggered Davlet Panech <dpanech@gmail.com>
Davlet Panech  writes:
> I'm troubleshooting a problem with a Postgres installation (Linux): a 
> client process got killed by OOM while executing an update statement, 
> Is there a memory leak in there somewhere?
> I'm using Postgres 9.4.8 on x86_64-redhat-linux-gnu with 16GB of 
> physical RAM and 8GB of swap space.

I see a possibly relevant entry in the 9.4.10 release notes:

      Fix query-lifespan memory leak in a bulk UPDATE on a table
      with a PRIMARY KEY or REPLICA IDENTITY index

Looking at the relevant commit (ae4760d66), it seems the leak was
just a few bytes per row, but if the update touches enough rows ...

			regards, tom lane

В списке pgsql-admin по дате отправления
От: scott ribe
Дата:
От: Ashwani Kumar B
Дата:
FAQ