xinyiZzz commented on code in PR #13781:
URL: https://github.com/apache/doris/pull/13781#discussion_r1009136506


##########
be/src/common/daemon.cpp:
##########
@@ -71,6 +71,14 @@ void Daemon::tcmalloc_gc_thread() {
     // TODO All cache GC wish to be supported
 #if !defined(ADDRESS_SANITIZER) && !defined(LEAK_SANITIZER) && 
!defined(THREAD_SANITIZER) && \
         !defined(USE_JEMALLOC)
+
+    size_t tc_use_memory_min = config::mem_limit;
+    if (config::memory_mode == std::string("performance")) {
+        tc_use_memory_min = config::mem_limit * 0.9;

Review Comment:
   I think `mem_limit * 0.9` is too big



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