[ 
https://issues.apache.org/jira/browse/KUDU-3463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17713282#comment-17713282
 ] 

Alexey Serbin commented on KUDU-3463:
-------------------------------------

[~weizisheng],

Just two more cents in addition to what [~zhangyifan27] already pointed.

Even without deleting/creating tables in the system catalog, {{kudu-master}} 
process might consume a lot of memory when receiving many updates on the tablet 
status and DDLs like adding/dropping/changing columns in a table.  See 
[KUDU-3406|https://issues.apache.org/jira/browse/KUDU-3406] and 
[KUDU-3429|https://issues.apache.org/jira/browse/KUDU-3429] for details.

You can easily address that by setting {{\-\-tablet_history_max_age_sec=900}} 
for kudu-masters.  In addition, consider picking up 
[4537be98d|https://github.com/apache/kudu/commit/4537be98d0542d99ecbe4674197b9d894c3eb4e5]
 if you don't want to override the {{\-\-tablet_history_max_age_sec}} for 
{{kudu-master}} processes.

> KuduMaster leader consumes too much memory
> ------------------------------------------
>
>                 Key: KUDU-3463
>                 URL: https://issues.apache.org/jira/browse/KUDU-3463
>             Project: Kudu
>          Issue Type: Bug
>    Affects Versions: 1.12.0
>            Reporter: Weizisheng
>            Priority: Major
>         Attachments: heap321.txt
>
>
> We rarely face a suspected memory leak on a cluster with 3-master and 
> 4-tserver, 800 tables and 3000 tablets. Leader master consume 50GB memory 
> while the other two only take one tenth of it ...
> From the last 5 days, leader's memory usage grows 3%+
> attachment pprof heap
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to