Active memory not released immediately
Author: benstadinCreated Apr 1, 2024Updated May 17, 2025
I want to release active memory as soon as possible. However with the following configuration there is a huge difference (factor 8) between active and allocated memory. Is there another option to enforce immediate release of memory other than what I've already configured? I'm using jemalloc v 5.3.0 on alpine linux 3.19.
My current setting: MALLOC_CONF="narenas:1,background_thread:true,dirty_decay_ms:0,muzzy_decay_ms:0,retain:false,stats_print:false"
Source: jemalloc/jemalloc