# InfluxDB 2.0.4 memory usage

**URL:** <https://community.influxdata.com/t/influxdb-2-0-4-memory-usage/19928>\
**Category:** InfluxDB 2\
**Tags:** influxdb\
**Created:** [May 17, 2021, 11:21am UTC](https://community.influxdata.com/t/influxdb-2-0-4-memory-usage/19928 "2021-05-17T11:21:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Verb](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@Verb](https://community.influxdata.com/u/Verb)\
**Post date:** [May 17, 2021, 11:21am UTC](https://community.influxdata.com/t/influxdb-2-0-4-memory-usage/19928/1 "2021-05-17T11:21:27Z")

</div>

Hello everyone,

I have set up an InfluxDB instance on a VM running Ubuntu 18.04 (1 CPU, 1 GB).  
I’ve had a problem with increasing memory usage over time - even with very limited read and writes.  
Some other posts have references this same issue, but I haven’t seen a conclusion to why this is happening. See picture:

Blue: memory usage  
Orange: CPU usage

 ![image](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/2/2facfaf0f745711444eb2be921fc988c1eb6381a.png)

When the memory usage peaks the machine will become unresponsive for 5-15 minutes, before resuming to a more reasonable level of memory usage.

Does anyone know a solution to this? Does InfluxDB 2.0 have a memory leak?

Thank you! 😄

---

<div class="post-metadata">

**Author:** ![dg-eparizzi](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/dg-eparizzi/32/8066_2.png) [@dg-eparizzi](https://community.influxdata.com/u/dg-eparizzi)\
**Post date:** [February 1, 2022, 2:28pm UTC](https://community.influxdata.com/t/influxdb-2-0-4-memory-usage/19928/2 "2022-02-01T14:28:18Z")

</div>

No even a comment on this. We’re on 2.0.7 and having a similar issue. Memory starts growing and it doesn’t seem to get released ever. There is mostly writes to the database and some reads once an hour.

---

<div class="post-metadata">

**Author:** ![lifei64](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/lifei64/32/15679_2.png) [@lifei64](https://community.influxdata.com/u/lifei64)\
**Post date:** [May 24, 2024, 3:04am UTC](https://community.influxdata.com/t/influxdb-2-0-4-memory-usage/19928/3 "2024-05-24T03:04:26Z")

</div>

2.0.7 The same to you. I would like to ask you about your actual work. As the amount of data increases, will OOM appear later? Do you have any optimization plans later?Looking forward to your reply。
