yiguolei commented on code in PR #50549: URL: https://github.com/apache/doris/pull/50549#discussion_r2077107265
########## be/src/vec/common/pod_array.h: ########## @@ -143,6 +146,32 @@ class PODArrayBase : private boost::noncopyable, return byte_size(num_elements) + pad_right + pad_left; } + // `tracking_and_check_memory` is called after alloc memory. + inline void tracking_and_check_memory(int64_t size) { + CONSUME_THREAD_MEM_TRACKER(size); + std::string err_msg; Review Comment: 定义在这里太废了,放到if 里面去 -- 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