Re: Out of memory on SELECT (from sort?) in 8.3
От | Tom Lane |
---|---|
Тема | Re: Out of memory on SELECT (from sort?) in 8.3 |
Дата | |
Msg-id | 9515.1221526861@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Out of memory on SELECT (from sort?) in 8.3 ("Matt Magoffin" <postgresql.org@msqr.us>) |
Ответы |
Re: Out of memory on SELECT (from sort?) in 8.3
|
Список | pgsql-general |
"Matt Magoffin" <postgresql.org@msqr.us> writes: >> Is this particular query using xml features, and if so which? Actually, >> could you just show us the whole query and the schemas of the tables >> it's using? > No, other than returning a column of type xml. Huh, I was overthinking the problem. xml_out has a memory leak :-( More than one in fact: a large leak (equal to size of output) in the executor context (hence query lifespan) and a small one in LibxmlContext (hence transaction lifespan). Try the patch here: http://archives.postgresql.org/pgsql-committers/2008-09/msg00159.php (In the long run it might be better if we didn't run datatype output functions in a query-lifespan context ...) regards, tom lane
В списке pgsql-general по дате отправления: