Re: Memory leak in Pl/Python - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Memory leak in Pl/Python
Date
Msg-id 19878.1466966292@sss.pgh.pa.us
Whole thread Raw
In response to Re: Memory leak in Pl/Python  (Andrey Zhidenkov <andrey.zhidenkov@gmail.com>)
List pgsql-hackers
Andrey Zhidenkov <andrey.zhidenkov@gmail.com> writes:
> It's very strange, but when I use expression 'update test set test =
> 'test' where id = 1' as argument of plpy.execute() memory do not
> growing at all...

Well, that suggests it's not particularly plpython's fault at all, but
a leak somewhere in the table update.  You still haven't provided a
self-contained test case, and this bit of information strongly suggests
that something about the test table is critical to reproducing the
problem.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andrey Zhidenkov
Date:
Subject: Re: Memory leak in Pl/Python
Next
From: David Rowley
Date:
Subject: Re: Rethinking representation of partial-aggregate steps