Tuning jemalloc (#70899)
This commit is contained in:
parent
f17cf7c6a2
commit
27daba4418
1 changed files with 1 additions 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
|
||||
|
|
Loading…
Add table
Reference in a new issue