Re: SlabCheck leaks memory into TopMemoryContext
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>, Tomas Vondra <tv@fuzzy.cz>,
pgsql-hackers@postgresql.org
Date: 2020-01-16T18:41:39Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > On 2020-01-16 18:01:53 +0100, Tomas Vondra wrote: >> and it's only really used in debug builds anyway. So I'm not all that >> woried about this wasting a couple extra kB of memory. > IDK, making memory usage look different makes optimizing it harder. Not > a hard rule, obviously, but ... Well, if you're that excited about it, make a patch so we can see how ugly it ends up being. regards, tom lane
Commits
-
Allocate freechunks bitmap as part of SlabContext
- a801452c9e30 10.12 landed
- 8c37e4469d13 11.7 landed
- 162c951dfe8f 12.2 landed
- 543852fd8bf0 13.0 landed