This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-1.2-unstable
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 2367e098d241f675bbc8faf3da1ab2a6cc53c1b9
Author: Yongqiang YANG <[email protected]>
AuthorDate: Tue Nov 8 19:26:30 2022 +0800

    [chore](bin) do not set heap limit for tcmalloc until doris does not 
allocates large unused memory (#13761)
    
    We set heap limit for tcmalloc to avoid oom introduced by tcmalloc which 
allocates memory for cache even free memory of a machine is little. However, 
doris allocates large memory unused in some cases, so tcmalloc would throw an 
oom exception even ther are a lot free memory in a machine.
    
    We can set the limit after we fix the problem again.
---
 bin/start_be.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/start_be.sh b/bin/start_be.sh
index cdd051bf7d..81ec80da87 100755
--- a/bin/start_be.sh
+++ b/bin/start_be.sh
@@ -220,7 +220,7 @@ set_tcmalloc_heap_limit() {
     export TCMALLOC_HEAP_LIMIT_MB=${mem_limit_mb}
 }
 
-set_tcmalloc_heap_limit || exit 1
+# set_tcmalloc_heap_limit || exit 1
 
 ## set hdfs conf
 export LIBHDFS3_CONF="${DORIS_HOME}/conf/hdfs-site.xml"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to