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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
Also note mallopt
https://www.gnu.org/software/libc/manual/html_node/Malloc-Tunable-Parameters.html

M_TRIM_THRESHOLD

    This is the minimum size (in bytes) of the top-most, releasable chunk that
will trigger a system call in order to return memory to the system.

    If this parameter is not set, the default value is set as 128 KiB and the
threshold is adjusted dynamically to suit the allocation patterns of the
program. If the parameter is set, the dynamic adjustment is disabled and the
value is set statically to the provided input.

    This parameter can also be set for the process at startup by setting the
environment variable MALLOC_TRIM_THRESHOLD_ to the desired value.

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

Reply via email to