HappenLee commented on code in PR #24052: URL: https://github.com/apache/doris/pull/24052#discussion_r1320810897
########## be/src/runtime/exec_env_init.cpp: ########## @@ -226,15 +226,26 @@ Status ExecEnv::init_pipeline_task_scheduler() { executors_size = CpuInfo::num_cores(); } + if (config::enable_cgroup_cpu_controller) { + _cgroup_cpu_ctl = new CgroupV1CpuCtl(); Review Comment: need safe delete to prevent the mem leak -- 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