You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Adar Dembo (JIRA)" <ji...@apache.org> on 2018/12/13 19:54:00 UTC

[jira] [Resolved] (KUDU-2639) How do I clear kudu memory or how do I ensure that kudu memory does not exceed the limit

     [ https://issues.apache.org/jira/browse/KUDU-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adar Dembo resolved KUDU-2639.
------------------------------
       Resolution: Information Provided
    Fix Version/s: n/a

Your screenshots show a tserver whose memory peaked at 3.2G (or more), but then the consumption dropped following what I'm guessing were MemRowSet flushes. Is your concern that, despite the current server consumption being only ~300M, the "total consumption" is still at ~1.7G? Discrepancies like these can arise:
 # tcmalloc will release memory back to the OS slowly. Does the total consumption drop if the server is left idle?
 # The server consumption only includes Kudu objects whose memory is explicitly tracked. There are many other objects that aren't tracked, and depending on your workload, the total consumption of those untracked objects may be higher or lower. The biggest offenders are scans; all memory consumption from scans will be included in "total consumption" but not in "server consumption".

I'm closing this Jira as there's nothing actionable here. Let's continue this discussion either in the Kudu user mailing list or Slack channels.

> How do I clear kudu memory or how do I ensure that kudu memory does not exceed the limit
> ----------------------------------------------------------------------------------------
>
>                 Key: KUDU-2639
>                 URL: https://issues.apache.org/jira/browse/KUDU-2639
>             Project: Kudu
>          Issue Type: Bug
>          Components: master, metrics, server
>    Affects Versions: 1.7.0
>            Reporter: wangkang
>            Priority: Major
>             Fix For: n/a
>
>         Attachments: 1544690968288.jpg, 1544691002343.jpg
>
>
> When I insert 1.2 gigabytes of data, the server value keeps increasing, reaching a peak of 3.2 gigabytes and the memory utilization reaches 48%. So if I want to insert more, is it possible to cause memory usage limit? How to avoid this situation? Can the memory used by this server be cleared manually?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)