You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/07/18 08:14:29 UTC

[GitHub] [doris] yiguolei commented on a diff in pull request #10936: [Enhancement] [Memory] add strict memory usage compile option STRICT_MEMORY_USE

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


##########
be/src/vec/common/hash_table/hash_table.h:
##########
@@ -244,11 +244,22 @@ template <size_t initial_size_degree = 10>
 struct HashTableGrower {
     /// The state of this structure is enough to get the buffer size of the hash table.
     doris::vectorized::UInt8 size_degree = initial_size_degree;
+    doris::vectorized::Int64 double_grow_degree = 31; // 2GB

Review Comment:
   const expr here
   and DOUBLE_GROW_DEGREE



-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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