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 17:39:48
Message-ID: 20201110173948.GA562081@roeckx.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Nov 10, 2020 at 09:19:34AM +0100, Kurt Roeckx wrote:
> 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

The same thing, about 9 hours later:
VmPeak: 5882112 kB
VmSize: 5857276 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 5722668 kB
VmRSS: 5697940 kB
RssAnon: 1414988 kB
RssFile: 27472 kB
RssShmem: 4255480 kB
VmData: 1412996 kB
VmStk: 132 kB
VmExe: 5388 kB
VmLib: 68200 kB
VmPTE: 11372 kB
VmSwap: 0 kB
HugetlbPages: 0 kB

Kurt

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-11-10 18:47:49 BUG #16708: Please add some more restrictions to the default systemd unit files
Previous 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