]> git.ipfire.org Git - thirdparty/elfutils.git/commit
PR31103: debuginfod: periodically call malloc_trim(0)
authorFrank Ch. Eigler <fche@redhat.com>
Mon, 18 Mar 2024 20:06:02 +0000 (16:06 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Mon, 18 Mar 2024 20:06:02 +0000 (16:06 -0400)
commita0ab32276adbc157ebdadd922fb7a45bd99c68c7
tree885d6cd1a73a75c62f7f39ff0a6111015aedd677
parentd74f4c1d572fbeb7454a2ffa02cbc955ea24780d
PR31103: debuginfod: periodically call malloc_trim(0)

Add malloc_trim() for releasing memory which is allocated for
temporary purposes, e.g. answering queries, adding data to the
database during scans.  This patch just adds one call after the groom
cycle, but others could be added around webapi query handling or
scanning ops too.

Signed-off-by: Di Chen <dichen@redhat.com>
configure.ac
debuginfod/debuginfod.cxx