| От | Tom Lane |
|---|---|
| Тема | Re: ERROR: Out of memory - when connecting to database |
| Дата | |
| Msg-id | 29947.1289249504@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: ERROR: Out of memory - when connecting to database (Jakub Ouhrabka <kuba@comgate.cz>) |
| Список | pgsql-general |
Jakub Ouhrabka <kuba@comgate.cz> writes:
>>> They clearly were: notice the reference to "Autovacuum context" in the
>>> memory map. I think you are right to suspect that auto-analyze was
>>> getting blown out by the wide bytea columns. Did you have any
>>> expression indexes involving those columns?
> Yes, there are two unique btree indexes:
> (col1, col2, col3, md5(array_to_string(col_bytea_arr, ''::text)) where
> col4 is not null
> (col1, col2, col3, md5(array_to_string(col_bytea_arr, ''::text)) where
> col4 is null
> What is the cause of the out of memory then?
Hmm. I suspect that evaluation of that md5() call is resulting in
memory leakage, but not sure why or where exactly.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера