Re: BUG #16707: Memory leak

From: Kurt Roeckx <kurt(at)roeckx(dot)be>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16707: Memory leak
Date: 2020-11-10 08:19:34
Message-ID: 20201110081934.GA546675@roeckx.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Nov 10, 2020 at 09:11:20AM +0100, Kurt Roeckx wrote:
> On Mon, Nov 09, 2020 at 08:31:27PM -0800, Andres Freund wrote:
> > As this is on a halfway recent linux, I suggest doing something like
> >
> > $ grep ^Rss /proc/$pid/status
> > RssAnon: 6664 kB
> > RssFile: 69512 kB
> > RssShmem: 15788 kB
>
> RssAnon: 1197064 kB
> RssFile: 27420 kB
> RssShmem: 4248052 kB

Maybe this is useful:
$ grep kB /proc/10000/status
VmPeak: 5654956 kB
VmSize: 5637004 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 5479104 kB
VmRSS: 5472668 kB
RssAnon: 1197196 kB
RssFile: 27420 kB
RssShmem: 4248052 kB
VmData: 1192724 kB
VmStk: 132 kB
VmExe: 5388 kB
VmLib: 68200 kB
VmPTE: 10932 kB
VmSwap: 0 kB
HugetlbPages: 0 kB

Kurt

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message zhongxuchen@gmail.com 2020-11-10 10:43:24 Re: Re: BUG #16706: insert into on conflict(pk) do update error violates not-null constraint
Previous Message Kurt Roeckx 2020-11-10 08:11:20 Re: BUG #16707: Memory leak