Setup docker container to use jemalloc

This commit is contained in:
Grant Limberg 2018-10-24 13:36:21 -07:00
commit 5a0adba798
2 changed files with 4 additions and 4 deletions

View file

@ -41,7 +41,7 @@ echo "{
}
" > /var/lib/zerotier-one/local.conf
# export ASAN_OPTIONS=detect_leaks=1
# export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer
# export MSAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer
export GLIBCXX_FORCE_NEW=1
export GLIBCPP_FORCE_NEW=1
export LD_PRELOAD="/usr/lib64/libjemalloc.so"
exec /usr/local/bin/zerotier-one /var/lib/zerotier-one