# Memprofile shows memory usage way below expected

**URL:** <https://discuss.elastic.co/t/memprofile-shows-memory-usage-way-below-expected/218672>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 10, 2020, 9:09pm UTC](https://discuss.elastic.co/t/memprofile-shows-memory-usage-way-below-expected/218672 "2020-02-10T21:09:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlsoane](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@carlsoane](https://discuss.elastic.co/u/carlsoane)\
**Post date:** [February 10, 2020, 9:09pm UTC](https://discuss.elastic.co/t/memprofile-shows-memory-usage-way-below-expected/218672/1 "2020-02-10T21:09:54Z")

</div>

I have a series of filebeats running in a kubernetes environment that are being repeatedly OOMKilled. I have my filebeat pods configured to run with memory requests of 250m and limits of 500m. I run the filebeats with --memprofile configured. What I'm curious about is why the memory profiles show only about 20-50MB of inuse\_space. I expected them to be somewhere near the 500MB limit settings. As a result, I don't know what to make of the 450MB+ discrepancy.  
I've attached three examples.

 ![filebeat-ds-94bh8](https://us1.discourse-cdn.com/elastic/original/3X/e/f/efb4c1bf42113483c10da3bf852bfeb4846eae93.gif) ![filebeat-ds-kfqj6](https://us1.discourse-cdn.com/elastic/original/3X/2/4/24388e8fc08214e2df9d0707c7b90576f9bb49fb.gif) ![filebeat-ds-wg87t](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a7a34a5bc804814a5c64aad02a460c352f39f0b3.gif)

---

<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:** [March 9, 2020, 9:09pm UTC](https://discuss.elastic.co/t/memprofile-shows-memory-usage-way-below-expected/218672/2 "2020-03-09T21:09:59Z")

</div>

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