diff --git a/embed/templates/scripts/run_tiflash.sh.tpl b/embed/templates/scripts/run_tiflash.sh.tpl index ed2da18516..97729b7f39 100644 --- a/embed/templates/scripts/run_tiflash.sh.tpl +++ b/embed/templates/scripts/run_tiflash.sh.tpl @@ -9,6 +9,7 @@ export RUST_BACKTRACE=1 export TZ=${TZ:-/etc/localtime} export LD_LIBRARY_PATH={{.DeployDir}}/bin/tiflash:$LD_LIBRARY_PATH +export MALLOC_CONF="prof:true,prof_active:false" {{- if .RequiredCPUFlags }} if [ -f "/proc/cpuinfo" ]; then