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


##########
be/src/runtime/memory/mem_tracker_limiter.cpp:
##########
@@ -81,6 +81,11 @@ std::shared_ptr<MemTrackerLimiter> 
MemTrackerLimiter::create_shared(MemTrackerLi
                                                                     const 
std::string& label,
                                                                     int64_t 
byte_limit) {
     auto tracker = std::make_shared<MemTrackerLimiter>(type, label, 
byte_limit);
+    // Write tracker is only used to tracker the size, so limit == -1
+    auto write_tracker = std::make_shared<MemTrackerLimiter>(type, "Memtable" 
+ label, -1);

Review Comment:
   TODO: 
   MemoryProfile 中应该在 Load Memory 中区分 Framgnet 和 Memtable 内存



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