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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matt Magoffin" <postgresql(dot)org(at)msqr(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Memory use in 8.3 plpgsql with heavy use of xpath()
Date: 2008-07-01 22:19:49
Message-ID: 25024.1214950789@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Matt Magoffin" <postgresql(dot)org(at)msqr(dot)us> writes:
>> 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,

Yeah, that's what I'd try first.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2008-07-02 04:34:26 Re: Re: problem getting postgres 8.3.1 with xml support to work on Redhat Enterprise Linux 4
Previous Message Tom Lane 2008-07-01 22:18:00 Re: Problem with roles and permissions