[Bug debuginfod/31103] periodically malloc_trim()

fche at redhat dot com sourceware-bugzilla@sourceware.org
Thu Mar 14 13:22:31 GMT 2024


https://sourceware.org/bugzilla/show_bug.cgi?id=31103

--- Comment #7 from Frank Ch. Eigler <fche at redhat dot com> ---
Right, the linux kernel does not share enough memory consumption data in
rusage, so you need to read /proc/self/statm or such and compare its snapshots.

For memory release, it's not so much the size of the database that matters, but
an amount of -activity- on the database before the release attempt.  It's the
memory allocation for temporary purposes (answering queries, adding data to the
database during scans) that we'd be hoping to release.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list