sudo apt-get install graphviz
#Clone jemalloc git clone https://github.com/jemalloc/jemalloc
./configure --enable-prof --enable-stats --enable-debug --enable-fill make make install
export MALLOC_CONF="prof:true,prof_prefix:jeprof.out"
export LD_PRELOAD=/home/tom/dev/playgroud/jemalloc/jemalloc/lib/libjemalloc.so
java -jar target/spring-boot-jemalloc-example-0.0.1-SNAPSHOT.jar
jeprof --show_bytes --gif jeprof.*.heap > app-profiling.gif