# High memory usage on TSI mode

**URL:** <https://community.influxdata.com/t/high-memory-usage-on-tsi-mode/16521>\
**Category:** Store\
**Tags:** influxdb, schema, influxql, performance\
**Created:** [October 29, 2020, 6:39pm UTC](https://community.influxdata.com/t/high-memory-usage-on-tsi-mode/16521 "2020-10-29T18:39:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Esity](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/esity/32/5864_2.png) [@Esity](https://community.influxdata.com/u/Esity)\
**Post date:** [November 2, 2020, 1:09pm UTC](https://community.influxdata.com/t/high-memory-usage-on-tsi-mode/16521/2 "2020-11-02T13:09:25Z")

</div>

We had very similar issues. The version of Go that we were using doesn’t release memory which caused us a ton of issues.

Try adding this to /etc/default/influxdb

```auto
GODEBUG=madvdontneed=1

```

This will tell GO to release memory and you should see it decrease over time. (A service restart will be required for this to take affect)

---

_[View the full topic](https://community.influxdata.com/t/high-memory-usage-on-tsi-mode/16521)._
