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

From Kris Jurka
Subject Re: Memory use in 8.3 plpgsql with heavy use of xpath()
Date
Msg-id Pine.BSO.4.64.0807021824100.29829@leary.csoft.net
Whole thread Raw
In response to Re: Memory use in 8.3 plpgsql with heavy use of xpath()  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Memory use in 8.3 plpgsql with heavy use of xpath()
List pgsql-general

On Wed, 2 Jul 2008, Tom Lane wrote:

> "Matt Magoffin" <postgresql.org@msqr.us> writes:
>> Below is a test case that simulates the use of xpath() within a plpgsql
>> function in my application.
>
> I'm able to duplicate the memory leak in this function with the current
> Fedora 8 libxml2 (2.6.32).  The leak is definitely inside libxml2
> itself, because the bloat shows up here:
>

I think this should fix it.

Kris Jurka

Attachment

pgsql-general by date:

Previous
From: Gwyneth Morrison
Date:
Subject: Re: Delete from Join
Next
From: "Matt Magoffin"
Date:
Subject: Re: Memory use in 8.3 plpgsql with heavy use of xpath()