[PATCH] malloc: Deprecate hook variables, __default_morecore, <mcheck.h>

DJ Delorie dj@redhat.com
Mon Nov 21 19:43:00 GMT 2016


Steve Vormwald <sdvormwa@cray.com> writes:
> The usual culprit is something "caching" small (<128byte) allocations for
> future reuse rather than freeing them when they become unused, which

Have you tried disabling fastbins?  I.e. mallopt(M_MXFAST, 0) ?



More information about the Libc-alpha mailing list