Skip to content
Permalink
Browse files
Tuning jemalloc (#70899)
  • Loading branch information
pvizeli committed Apr 27, 2022
1 parent f17cf7c commit 27daba441839a5fad0d92b81b07fc267e759758d
Showing 1 changed file with 1 addition and 0 deletions.
@@ -8,5 +8,6 @@ cd /config || bashio::exit.nok "Can't find config folder!"
# Enable mimalloc for Home Assistant Core, unless disabled
if [[ -z "${DISABLE_JEMALLOC+x}" ]]; then
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
export MALLOC_CONF="background_thread:true,metadata_thp:auto,dirty_decay_ms:20000,muzzy_decay_ms:20000"
fi
exec python3 -m homeassistant --config /config

0 comments on commit 27daba4

Please sign in to comment.