xinyiZzz commented on code in PR #19526:
URL: https://github.com/apache/doris/pull/19526#discussion_r1193586133


##########
be/src/runtime/memory/mem_tracker_limiter.cpp:
##########
@@ -474,12 +473,46 @@ int64_t MemTrackerLimiter::free_top_overcommit_query(
     return freed_mem;
 }
 
-void MemTrackerLimiter::add_to_task_group(taskgroup::TaskGroupPtr task_group) {
-    if (_task_group) {
-        return;
+int64_t MemTrackerLimiter::tg_memory_limit_gc(

Review Comment:
   Wouldn't it be better to put this in `mem_info.cpp`



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to