Re: Memory use in 8.3 plpgsql with heavy use of xpath() - Mailing list pgsql-general

From Tom Lane
Subject Re: Memory use in 8.3 plpgsql with heavy use of xpath()
Date
Msg-id 25024.1214950789@sss.pgh.pa.us
Whole thread Raw
In response to Re: Memory use in 8.3 plpgsql with heavy use of xpath()  ("Matt Magoffin" <postgresql.org@msqr.us>)
Responses Re: Memory use in 8.3 plpgsql with heavy use of xpath()
List pgsql-general
"Matt Magoffin" <postgresql.org@msqr.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with roles and permissions
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Re: problem getting postgres 8.3.1 with xml support to work on Redhat Enterprise Linux 4