yiguolei commented on code in PR #22027:
URL: https://github.com/apache/doris/pull/22027#discussion_r1270223845


##########
be/src/vec/common/allocator.h:
##########
@@ -95,6 +96,8 @@ class Allocator {
     /// Allocate memory range.
     void* alloc(size_t size, size_t alignment = 0) {
         memory_check(size);
+        doris::thread_context()->large_memory_check = false;

Review Comment:
   为啥走allocator的就不检查large memory check了啊?



##########
be/src/vec/common/allocator.h:
##########
@@ -95,6 +96,8 @@ class Allocator {
     /// Allocate memory range.
     void* alloc(size_t size, size_t alignment = 0) {
         memory_check(size);
+        doris::thread_context()->large_memory_check = false;

Review Comment:
   为啥走allocator的就不检查large memory check了啊?



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