# Kubernetes.container.memory.usage.bytes doesn't match pmap

**URL:** <https://discuss.elastic.co/t/kubernetes-container-memory-usage-bytes-doesnt-match-pmap/255748>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [November 17, 2020, 6:48pm UTC](https://discuss.elastic.co/t/kubernetes-container-memory-usage-bytes-doesnt-match-pmap/255748 "2020-11-17T18:48:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eeijlar](https://avatars.discourse-cdn.com/v4/letter/e/96bed5/32.png) [@eeijlar](https://discuss.elastic.co/u/eeijlar)\
**Post date:** [November 17, 2020, 6:48pm UTC](https://discuss.elastic.co/t/kubernetes-container-memory-usage-bytes-doesnt-match-pmap/255748/1 "2020-11-17T18:48:20Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/8/5826bb00bd86eca9be4cf3d7531174ba1a46f5e7.png)

None of the metric sets listed above closely match:

`pmap <pid>`

which is the size of the process. I have tried working set, rss and usage.bytes, and none seem to match this. What is the correct metric to use for memory?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 15, 2020, 8:48pm UTC](https://discuss.elastic.co/t/kubernetes-container-memory-usage-bytes-doesnt-match-pmap/255748/2 "2020-12-15T20:48:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
