xinyiZzz commented on code in PR #19802: URL: https://github.com/apache/doris/pull/19802#discussion_r1198495835
########## be/src/util/mem_info.cpp: ########## @@ -144,6 +146,8 @@ bool MemInfo::process_minor_gc() { // TODO add freed_mem SegmentLoader::instance()->prune(); + freed_mem += tg_soft_memory_limit_gc(_s_process_minor_gc_size - freed_mem); + Review Comment: add ``` if (freed_mem > _s_process_minor_gc_size) { return true; } ``` -- 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