# Index writer memory Continue to rise

**URL:** <https://discuss.elastic.co/t/index-writer-memory-continue-to-rise/213514>\
**Category:** Elasticsearch\
**Created:** [January 2, 2020, 6:36am UTC](https://discuss.elastic.co/t/index-writer-memory-continue-to-rise/213514 "2020-01-02T06:36:30Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![ITzhangqiang](https://avatars.discourse-cdn.com/v4/letter/i/2bfe46/32.png) [@ITzhangqiang](https://discuss.elastic.co/u/ITzhangqiang)\
**Post date:** [January 15, 2020, 10:35am UTC](https://discuss.elastic.co/t/index-writer-memory-continue-to-rise/213514/21 "2020-01-15T10:35:31Z")

</div>

Hi,  
@nhat I still have a question，I use logstash double write data to es6.3 and es7.4 cluster.I found 6.3cluster also have a problematic index which is same as es7.4‘s problematic index.But 6.3 cluster is fine.Is there any difference about idnex writer in es6.3 and es7.4.  
See the wrong document below:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/5/e5373d107edbf8ec8d20b52145c34b62774deb69.png)

---

<div class="post-metadata">

**Author:** ![nhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nhat/32/22170_2.png) [@nhat](https://discuss.elastic.co/u/nhat)\
**Post date:** [January 15, 2020, 4:08pm UTC](https://discuss.elastic.co/t/index-writer-memory-continue-to-rise/213514/22 "2020-01-15T16:08:11Z")

</div>

Hi @ITzhangqiang, I believe the 6.3 cluster worked unexpectedly because of the regression bug. Previously, the indexing memory of each IndexWriter was incorrectly capped at 256MB. This cap was a regression and fixed in [https://github.com/elastic/elasticsearch/pull/31105](https://github.com/elastic/elasticsearch/pull/31105). With this fix, the problematic index in your 7.4 cluster could use up to 2GB instead of 256MB.

---

<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:** [February 12, 2020, 4:08pm UTC](https://discuss.elastic.co/t/index-writer-memory-continue-to-rise/213514/23 "2020-02-12T16:08:12Z")

</div>

Closed on February 12, 2020, 4:08pm UTC

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

[Previous page](https://discuss.elastic.co/t/index-writer-memory-continue-to-rise/213514.md?page=1)
