yiguolei commented on code in PR #41264: URL: https://github.com/apache/doris/pull/41264#discussion_r1774406907
########## be/src/pipeline/dependency.h: ########## @@ -933,6 +939,11 @@ struct LocalMergeExchangeSharedState : public LocalExchangeSharedState { source_deps[channel_id]->set_ready(); } + void set_low_memory_mode() override { + _buffer_mem_limit = std::min<int64_t>(config::local_exchange_buffer_mem_limit, 1024 * 1024); + _each_queue_limit = _buffer_mem_limit / _queues_mem_usage.size(); Review Comment: 两个整数相除,最后会不会是0? 得设置一个min值啊 -- 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