Re: Memory use in 8.3 plpgsql with heavy use of xpath()

Поиск
Список
Период
Сортировка
От Matt Magoffin
Тема Re: Memory use in 8.3 plpgsql with heavy use of xpath()
Дата
Msg-id 49593.192.168.1.108.1214949465.squirrel@msqr.us
обсуждение исходный текст
Ответ на Re: Memory use in 8.3 plpgsql with heavy use of xpath()  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Memory use in 8.3 plpgsql with heavy use of xpath()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> Ugh.  Sounds like "small memory leak inside libxml2" --- probably not
> going to be easy to find.  Can you put together a self-contained test
> case?

OK, I'll try to come up with something. Do you have a recommended way of
capturing the amount memory being used by Postgres related to this? I was
thinking I would have a plpgsql function that loops a large number of
times, calling a few xpath() calls, and could take a memory snapshot
before/after the function completes. Is there a call within Postgres I can
make, or should I just rely on OS-level tools for this?

-- m@

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Memory use in 8.3 plpgsql with heavy use of xpath()
Следующее
От: "Chandra Barnett"
Дата:
Сообщение: Re: Problem with roles and permissions