# How to reduce beat memory usage?

**URL:** <https://discuss.elastic.co/t/how-to-reduce-beat-memory-usage/82825>\
**Category:** Beats\
**Created:** [April 19, 2017, 6:42am UTC](https://discuss.elastic.co/t/how-to-reduce-beat-memory-usage/82825 "2017-04-19T06:42:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krhubert](https://avatars.discourse-cdn.com/v4/letter/k/c2a13f/32.png) [@krhubert](https://discuss.elastic.co/u/krhubert)\
**Post date:** [April 19, 2017, 6:42am UTC](https://discuss.elastic.co/t/how-to-reduce-beat-memory-usage/82825/1 "2017-04-19T06:42:28Z")

</div>

Hi,

I have 3 beats on instances:

- metricbeat
- countbeat (the one from developer guide)
- filebeat

I checked memory usage and the result was surprising:

```auto
  590.27 Mb /usr/share/metricbeat/bin/metricbeat
  115.02 Mb /usr/local/bin/countbeat
    7.58 Mb /usr/share/filebeat/bin/filebeat 

```

How to explain such memory usage diffrence between beats? How to reduce memory usage in own developed beat?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 20, 2017, 8:07am UTC](https://discuss.elastic.co/t/how-to-reduce-beat-memory-usage/82825/2 "2017-04-20T08:07:33Z")

</div>

How are you measuring this memory use?

---

<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:** [May 10, 2017, 6:51am UTC](https://discuss.elastic.co/t/how-to-reduce-beat-memory-usage/82825/3 "2017-05-10T06:51:04Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
