jacktengg commented on code in PR #47462:
URL: https://github.com/apache/doris/pull/47462#discussion_r1967111305


##########
be/src/runtime/memory/thread_mem_tracker_mgr.h:
##########
@@ -278,40 +279,57 @@ inline void ThreadMemTrackerMgr::flush_untracked_mem() {
     _stop_consume = false;
 }
 
-inline doris::Status ThreadMemTrackerMgr::try_reserve(int64_t size) {
+inline doris::Status ThreadMemTrackerMgr::try_reserve(int64_t size,
+                                                      bool 
only_check_process_memory) {

Review Comment:
   因为memtable fush exectuor 是BE上所有workload group 共享的,在其中reserve的内存也是只算在整个BE 
process上,不单独计入某个workload group或者查询。
   修改 tracker limit = -1或者workload group ptr = null,当前风险较高,先保持现状吧,后续再优化。



-- 
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

Reply via email to