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 19:44:46 |
Message-ID: | 20201110194446.GA566206@roeckx.be |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
I took a copy of /proc/$pid/smaps about 2 hours apart, and a diff
shows:
-5604495f1000-5604886fd000 rw-p 00000000 00:00 0 [heap]
-Size: 1033264 kB
+5604495f1000-56048cc1c000 rw-p 00000000 00:00 0 [heap]
+Size: 1104044 kB
KernelPageSize: 4 kB
MMUPageSize: 4 kB
-Rss: 1030296 kB
-Pss: 1030296 kB
+Rss: 1101288 kB
+Pss: 1101288 kB
Shared_Clean: 0 kB
Shared_Dirty: 0 kB
Private_Clean: 0 kB
-Private_Dirty: 1030296 kB
-Referenced: 998992 kB
-Anonymous: 1030296 kB
+Private_Dirty: 1101288 kB
+Referenced: 1067220 kB
+Anonymous: 1101288 kB
LazyFree: 0 kB
AnonHugePages: 0 kB
ShmemPmdMapped: 0 kB
So the heap grew with 70 MB.
The new results from status:
VmPeak: 5928312 kB
VmSize: 5928056 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 5772336 kB
VmRSS: 5772084 kB
RssAnon: 1485980 kB
RssFile: 27472 kB
RssShmem: 4258632 kB
VmData: 1483776 kB
VmStk: 132 kB
VmExe: 5388 kB
VmLib: 68200 kB
VmPTE: 11512 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
Both seem to say that the heap grew with 70 MB in about 2 hours.
With 10 processes growing at this rate, it grows with about 8 GB a
day.
Kurt
From | Date | Subject | |
---|---|---|---|
Next Message | Kurt Roeckx | 2020-11-10 19:50:39 | Re: BUG #16707: Memory leak |
Previous Message | Andres Freund | 2020-11-10 19:35:17 | Re: BUG #16707: Memory leak |