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


##########
be/src/runtime/memory/thread_mem_tracker_mgr.h:
##########
@@ -95,7 +95,9 @@ class ThreadMemTrackerMgr {
     void consume(int64_t size, int skip_large_memory_check = 0);
     void flush_untracked_mem();
 
-    bool try_reserve(int64_t size);
+    bool try_reserve(int64_t size, std::string& err_msg);
+    bool try_reserve(int64_t size, bool print_err_msg = false);

Review Comment:
   done



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