# Metricbeat extreme memory usage

**URL:** <https://discuss.elastic.co/t/metricbeat-extreme-memory-usage/268850>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [March 31, 2021, 12:19am UTC](https://discuss.elastic.co/t/metricbeat-extreme-memory-usage/268850 "2021-03-31T00:19:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francisco\_Gomez1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francisco_gomez1/32/78301_2.png) [@Francisco\_Gomez1](https://discuss.elastic.co/u/Francisco_Gomez1)\
**Post date:** [March 31, 2021, 12:19am UTC](https://discuss.elastic.co/t/metricbeat-extreme-memory-usage/268850/1 "2021-03-31T00:19:47Z")

</div>

I'm getting serius metricbeat memory spikes.  
i'm currently using metricbeat 7.11 in my server

 ![image (6)](https://us1.discourse-cdn.com/elastic/original/3X/4/2/42919d3ffec61a88c05d0836114e58226fbbf427.png) as we can see in the next screenshot the memory usage is just to high. i din't found any error log in the service , i'm not quiet sure if it is related to my antivirus or could be something else. Thanks for the help in advance

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [March 31, 2021, 3:07pm UTC](https://discuss.elastic.co/t/metricbeat-extreme-memory-usage/268850/2 "2021-03-31T15:07:51Z")

</div>

Hi @Francisco_Gomez1,

This doesn't look good, but it is known that some modules can consume a lot of memory. What modules are you using?

You also mention memory spikes, does it mean that this memory usage is sporadic, or is metricbeat constantly using so much memory?

Something else that can help to identify the issue is to obtain a memory profile, you can obtain it restarting metricbeat with the `-httpprof=127.0.0.1:6060` flag, and downloading it from `http://localhost:6060/debug/pprof/heap`.

---

<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:** [April 28, 2021, 5:08pm UTC](https://discuss.elastic.co/t/metricbeat-extreme-memory-usage/268850/3 "2021-04-28T17:08:37Z")

</div>

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