yiguolei commented on code in PR #50292: URL: https://github.com/apache/doris/pull/50292#discussion_r2057714874
########## be/src/vec/common/allocator.cpp: ########## @@ -209,7 +209,8 @@ void Allocator<clear_memory_, mmap_populate, use_mmap, MemoryAllocator>::memory_ return; } #endif - if (doris::thread_context()->thread_mem_tracker_mgr->skip_memory_check != 0) { + if (doris::thread_context()->thread_mem_tracker_mgr->skip_memory_check != 0 || + !doris::thread_context()->resource_ctx()->memory_context()->enable_check_mem_limit()) { Review Comment: 这里的resource ctx 会不会为null? -- 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