diff --git a/src/risedevtool/src/task/compactor_service.rs b/src/risedevtool/src/task/compactor_service.rs index 435b3b49b406f..a8d5952a4ad45 100644 --- a/src/risedevtool/src/task/compactor_service.rs +++ b/src/risedevtool/src/task/compactor_service.rs @@ -95,7 +95,7 @@ impl Task for CompactorService { if crate::util::is_env_set("RISEDEV_ENABLE_HEAP_PROFILE") { // See https://linux.die.net/man/3/jemalloc for the descriptions of profiling options cmd.env( - "_RJEM_MALLOC_CONF", + "MALLOC_CONF", "prof:true,lg_prof_interval:38,lg_prof_sample:19,prof_prefix:compactor", ); } diff --git a/src/risedevtool/src/task/compute_node_service.rs b/src/risedevtool/src/task/compute_node_service.rs index e3fbb0845858a..dabad23c9ee61 100644 --- a/src/risedevtool/src/task/compute_node_service.rs +++ b/src/risedevtool/src/task/compute_node_service.rs @@ -115,7 +115,7 @@ impl Task for ComputeNodeService { if crate::util::is_env_set("RISEDEV_ENABLE_HEAP_PROFILE") { // See https://linux.die.net/man/3/jemalloc for the descriptions of profiling options cmd.env( - "_RJEM_MALLOC_CONF", + "MALLOC_CONF", "prof:true,lg_prof_interval:40,lg_prof_sample:19,prof_prefix:compute-node", ); } diff --git a/src/risedevtool/src/task/meta_node_service.rs b/src/risedevtool/src/task/meta_node_service.rs index 4ad34b91e03e9..06544723c123b 100644 --- a/src/risedevtool/src/task/meta_node_service.rs +++ b/src/risedevtool/src/task/meta_node_service.rs @@ -184,7 +184,7 @@ impl Task for MetaNodeService { if crate::util::is_env_set("RISEDEV_ENABLE_HEAP_PROFILE") { // See https://linux.die.net/man/3/jemalloc for the descriptions of profiling options cmd.env( - "_RJEM_MALLOC_CONF", + "MALLOC_CONF", "prof:true,lg_prof_interval:32,lg_prof_sample:19,prof_prefix:meta-node", ); }