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/10/31 08:16:39 UTC

[GitHub] [doris] xinyiZzz commented on a diff in pull request #13781: [improvement](memory) simplify memory config related to tcmalloc

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


##########
docs/zh-CN/docs/admin-manual/config/be-config.md:
##########
@@ -839,6 +839,12 @@ txn 管理器中每个 txn_partition_map 的最大 txns 数,这是一种自我
 * 描述:限制BE进程使用服务器最大内存百分比。用于防止BE内存挤占太多的机器内存,该参数必须大于0,当百分大于100%之后,该值会默认为100%。
 * 默认值:80%
 
+### `memory_mode`
+
+* 类型:string
+* 描述:控制tcmalloc的回收,如果配置为performance,内存使用超过mem_limit的50%时,doris会释放tcmalloc cache中的内存,如果配置为compact,内存使用超过mem_limit的90%时,doris会释放tcmalloc cache中的内存。

Review Comment:
   50%和90%写反了



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