From: Tom Lane <tgl@sss.pgh.pa.us>
To: Roman Konoval <rkonoval@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Memory leak during delete with sequential scan
Date: Fri, 12 Sep 2014 09:30:47 -0400
Message-ID: <29657.1410528647@sss.pgh.pa.us> (raw)
In-Reply-To: <CABcZEEDT-=ddaKEUGt6zAyoM1NHbKG8s11N6WRCg+ywmL_y41Q@mail.gmail.com>
References: <CABcZEEA22KAD4CpfC0qFdMi0EPRH08WTJmkhGUkG8Jq2+EBNWQ@mail.gmail.com>
<30254.1410488277@sss.pgh.pa.us>
<CABcZEEDT-=ddaKEUGt6zAyoM1NHbKG8s11N6WRCg+ywmL_y41Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Roman Konoval <rkonoval@gmail.com> writes:
> On Fri, Sep 12, 2014 at 5:17 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> In Linux systems you should generally be looking at RES minus SHR
>> not just RES to determine a process' private memory.
> By private memory here I mean the sum of Private_Dirty and Private_Clean
> values for every memory segment in /proc/<pid>/smaps.
Hm. I'm not terribly familiar with that API, but the notion that it
*ever* counts shared memory as "Private" sounds pretty bogus from here.
I'd suggest filing a bug against whichever kernel you're using.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: tgl@sss.pgh.pa.us, rkonoval@gmail.com
Subject: Re: Memory leak during delete with sequential scan
In-Reply-To: <29657.1410528647@sss.pgh.pa.us>
References: <CABcZEEA22KAD4CpfC0qFdMi0EPRH08WTJmkhGUkG8Jq2+EBNWQ@mail.gmail.com> <30254.1410488277@sss.pgh.pa.us> <CABcZEEDT-=ddaKEUGt6zAyoM1NHbKG8s11N6WRCg+ywmL_y41Q@mail.gmail.com> <29657.1410528647@sss.pgh.pa.us>
* 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