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 <tv@fuzzy.cz>, pgsql-hackers@postgresql.org
Date: 2020-01-16T15:27:01Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> ... I thought you were asking whether
> any additional memory could just be avoided...

Well, I was kind of wondering that, but if it's not practical then
preallocating the space instead will do.

			regards, tom lane



Commits

  1. Allocate freechunks bitmap as part of SlabContext