morningman commented on a change in pull request #1954: Limit the memory usage 
of Loading process
URL: https://github.com/apache/incubator-doris/pull/1954#discussion_r334473000
 
 
 ##########
 File path: be/src/exec/tablet_sink.h
 ##########
 @@ -283,6 +283,9 @@ class OlapTableSink : public DataSink {
 
     // BE id -> add_batch method counter
     std::unordered_map<int64_t, AddBatchCounter> _node_add_batch_counter_map;
+
+    // load mem limit is for remote load channel
+    int64_t _load_mem_limit;
 
 Review comment:
   I will set default as -1, which means unlimit

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to