Skip to main content

configure_malloc

Function configure_malloc 

Source
fn configure_malloc()
Expand description

Limit the malloc arenas of the server, see MALLOC_ARENAS, and fix the thresholds of glibc, see MALLOC_THRESHOLD. Runs before the fork, while the process has a single thread. The runtimes and containers keep the defaults, an exec starts their allocator anew.