From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2ECFC3858C74; Sat, 2 Mar 2024 20:58:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2ECFC3858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1709413093; bh=378F4QChDVHZqZt1YekMc5pi9P0ACvd9kDW0Ph0Su84=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ditdx4pjd5+ZVkvdhkm+Uy4Y/GANuF3y6nmwCAnh5mO4UWvw0te+eOBoT/ZKAaeby aAcTy1eIuzbDN8EvuONVRo6UACT/A2TeaYJxlMzGiNdYZ1/DJTc1Fo9J9/Uwsqc/O3 17N8bO49zD95JXncgmKz3hmo51Dt0nezbZlg/ecY= From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug debuginfod/31103] periodically malloc_trim() Date: Sat, 02 Mar 2024 20:58:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: debuginfod X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dichen at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31103 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #3 from Mark Wielaard --- Also note mallopt https://www.gnu.org/software/libc/manual/html_node/Malloc-Tunable-Parameter= s.html M_TRIM_THRESHOLD This is the minimum size (in bytes) of the top-most, releasable chunk t= hat 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 t= he 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. --=20 You are receiving this mail because: You are on the CC list for the bug.=