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

YifanZhang commented on KUDU-3463:
----------------------------------

[~weizisheng] The metadata of deleted tables and tablets should be deleted from 
both memory and disk if the setting of 
'enable_metadata_cleanup_for_deleted_tables_and_tablets' is true. For deleting 
them from persistent disks, we delete corresponding entries from the 
sys.catalog table where the metadata stored in: 
[https://github.com/apache/kudu/blob/a3a7c97be031f8fc32402e430eff1a89c19dbdfb/src/kudu/master/catalog_manager.cc#L6099.]
 Did you find that the data on disks did not decrease after deleting tables?

> 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