You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/08/18 01:16:49 UTC
[GitHub] [doris] yiguolei commented on a diff in pull request #11877: [enhancement](memtracker) Optimize readability of mem exceed limit error message
yiguolei commented on code in PR #11877:
URL: https://github.com/apache/doris/pull/11877#discussion_r948566169
##########
be/src/service/doris_main.cpp:
##########
@@ -503,6 +503,7 @@ int main(int argc, char** argv) {
// this will cause coredump for ASAN build when running regression test,
// disable temporarily.
doris::ExecEnv::GetInstance()->task_pool_mem_tracker_registry()->logout_task_mem_tracker();
+ doris::ExecEnv::GetInstance()->process_mem_tracker()->enable_print_log_usage();
Review Comment:
If this method has to be called and it only set a property value. I think the property value should be a config.
--
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org