xinyiZzz commented on code in PR #19526: URL: https://github.com/apache/doris/pull/19526#discussion_r1192124791
########## be/src/util/mem_info.cpp: ########## @@ -122,8 +122,6 @@ bool MemInfo::process_minor_gc() { MonotonicStopWatch watch; watch.start(); int64_t freed_mem = 0; - std::string vm_rss_str = PerfCounters::get_vm_rss_str(); - std::string mem_available_str = MemInfo::sys_mem_available_str(); Review Comment: Record the system memory status before GC for printing logs. Otherwise, "be mem < mem_limit" or `system available memory > water mark` may appear in the log during GC, causing confusion to users -- 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