Skip to content

Commit

Permalink
Tuning jemalloc (#70899)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Apr 27, 2022
1 parent f17cf7c commit 27daba4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rootfs/etc/services.d/home-assistant/run
Original file line number Diff line number Diff line change
Expand Up @@ -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.