From: Craig Ringer <ringerc@ringerc.id.au>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: luben karavelov <karavelov@mail.bg>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6763: Severe memory leak with arrays and hstore
Date: Fri, 27 Jul 2012 13:52:29 +0800
Message-ID: <50122C9D.1070602@ringerc.id.au> (raw)
In-Reply-To: <25326.1343368025@sss.pgh.pa.us>
References: <E1SuCw0-0007s2-5D@wrigleys.postgresql.org>
<5010FD0F.4020400@ringerc.id.au>
<10398EEF-03DE-405E-B276-06F73ABF9E3A@mail.bg>
<5011FD5D.3040503@ringerc.id.au>
<5011FDEE.1010008@ringerc.id.au>
<50120966.4030903@ringerc.id.au>
<25326.1343368025@sss.pgh.pa.us>
On 07/27/2012 01:47 PM, Tom Lane wrote:
> Craig Ringer <ringerc@ringerc.id.au> writes:
>> OK, it's certainly leaking, but not in the same drastic way I was able
>> to reproduce manually a couple of times earlier. Self-contained test
>> case attached.
> Using HEAD with stock parameters, I don't see any significant change in
> allocated address space (VSZ): it sits right around 170MB. The reported
> resident set size (RSS) starts from very little and rises to about
> 140MB, but I think that's just an artifact of the process touching more
> and more of the shared-buffers array as it runs.
Gah. I should know better than that. Sorry.
This makes me wonder if the "leak-like" pattern I saw earlier was just a
similar growth in shared_buffers, and carried on more steeply rather
than tapering off because I was working with a smaller data set.
--
Craig Ringer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ringerc@ringerc.id.au, tgl@sss.pgh.pa.us, karavelov@mail.bg
Subject: Re: BUG #6763: Severe memory leak with arrays and hstore
In-Reply-To: <50122C9D.1070602@ringerc.id.au>
References: <E1SuCw0-0007s2-5D@wrigleys.postgresql.org> <5010FD0F.4020400@ringerc.id.au> <10398EEF-03DE-405E-B276-06F73ABF9E3A@mail.bg> <5011FD5D.3040503@ringerc.id.au> <5011FDEE.1010008@ringerc.id.au> <50120966.4030903@ringerc.id.au> <25326.1343368025@sss.pgh.pa.us> <50122C9D.1070602@ringerc.id.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox