xinyiZzz commented on code in PR #15382: URL: https://github.com/apache/doris/pull/15382#discussion_r1057434373
########## bin/start_be.sh: ########## @@ -233,7 +233,8 @@ set_tcmalloc_heap_limit() { ## set hdfs conf export LIBHDFS3_CONF="${DORIS_HOME}/conf/hdfs-site.xml" -export MALLOC_CONF="percpu_arena:percpu,background_thread:true,metadata_thp:auto,muzzy_decay_ms:30000,dirty_decay_ms:30000,oversize_threshold:0,lg_tcache_max:16" +# see https://github.com/jemalloc/jemalloc/issues/2366 +export JEMALLOC_CONF="percpu_arena:percpu,background_thread:true,metadata_thp:auto,muzzy_decay_ms:30000,dirty_decay_ms:30000,oversize_threshold:0,lg_tcache_max:16,prof:true,prof_prefix:jeprof.out" Review Comment: `prof:true` opening the profile seems to have an impact on performance. can explain how to use jemalloc heap profile in `debug-tool.md`, which is currently based on tcmalloc.  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org