4 ms·
In classic glibc form, malloc_trim has been freeing OS pages in the middle of the heap since 2007, but this is documented nowhere. Even the function comment in
by wrs 8y ago
In classic glibc form, malloc_trim has been freeing OS pages in the middle of the heap since 2007, but this is documented nowhere. Even the function comment in the source code itself is inaccurate.
https://stackoverflow.com/questions/15529643/what-does-malloc-trim0-really-mean https://stackoverflow.com/questions/15529643/what-does-mallo...
- anitil 8y agoI'm used to a random comment on stack overflow being the source of truth for angular, django and the like. But this is the first time I've seen it for glibc!