You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/11/09 14:55:41 UTC
[doris] 12/39: [chore](bin) do not set heap limit for tcmalloc until doris does not allocates large unused memory (#13761)
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 <98...@users.noreply.github.com>
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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org