# Auditbeat memory usage gradually increases

**URL:** https://discuss.elastic.co/t/auditbeat-memory-usage-gradually-increases/358600
**Category:** Beats
**Tags:** auditbeat
**Created:** [May 2, 2024, 6:27am UTC](https://discuss.elastic.co/t/auditbeat-memory-usage-gradually-increases/358600 "2024-05-02T06:27:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gunlomboy](https://avatars.discourse-cdn.com/v4/letter/g/c0e974/32.png) [@gunlomboy](https://discuss.elastic.co/u/gunlomboy)
#### Post date: [May 2, 2024, 6:27am UTC](https://discuss.elastic.co/t/auditbeat-memory-usage-gradually-increases/358600/1 "2024-05-02T06:27:17Z")

</div>

Hi,

I am running auditbeat-8.12.1 across a number of hosts. After restarting the service, I am seeing the memory usage grow from 0.6% to 13% over a period of 8 hours. It will continue until OOM.

I assumed this may be a queue issue, so have attempted to configure synchronous mode (which I assume wouldn't consume memory due to queueing).

```auto
queue:
  mem:
    # Max number of events the queue can buffer.
    events: 3200
    flush.min_events: 0
    flush.timeout: 0s

```

Is that correct? Has anyone else seen this gradual increase in memory consumption?

Thanks.
