Martijn van Oosterhout <kleptog@svana.org> writes:
> For large allocations glibc tends to mmap() which does get unmapped. There's
> a threshold of 4KB I think. Ofcourse, thousands of allocations for a few
> bytes will never trigger it.
But essentially all our allocation traffic goes through palloc, which
bunches small allocations together. In typical scenarios malloc will
only see requests of 8K or more, so we should be in good shape on this
front.
(Not that this is very relevant to Jim's problem, since he's not using
glibc...)
regards, tom lane