# OOME When large segments merge

**URL:** <https://discuss.elastic.co/t/oome-when-large-segments-merge/22642>\
**Category:** Elasticsearch\
**Created:** [March 12, 2015, 8:20pm UTC](https://discuss.elastic.co/t/oome-when-large-segments-merge/22642 "2015-03-12T20:20:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark\_2](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mark\_2](https://discuss.elastic.co/u/mark_2)\
**Post date:** [March 12, 2015, 8:20pm UTC](https://discuss.elastic.co/t/oome-when-large-segments-merge/22642/1 "2015-03-12T20:20:48Z")

</div>

I've noticed periodically that data nodes in my cluster will run out of  
heap space when large segments start merging. I attached a screenshot of  
what marvel looked like leading up to the OOME on one of my data nodes.

My question is, generally speaking, what knobs should I be turning to  
throttle resource consumption when large segment files are being merged?

I'm running ES version 1.4.1.

Thanks,  
Mark

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/35f2c096-ee1e-4a30-a11c-0177e84356ff%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/35f2c096-ee1e-4a30-a11c-0177e84356ff%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![mikemccand](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@mikemccand](https://discuss.elastic.co/u/mikemccand)\
**Post date:** [March 12, 2015, 8:59pm UTC](https://discuss.elastic.co/t/oome-when-large-segments-merge/22642/2 "2015-03-12T20:59:51Z")

</div>

Do you have many fields with norms enabled?

Mike McCandless

[http://www.elastic.co](http://www.elastic.co)

On Thu, Mar 12, 2015 at 1:20 PM, Mark Greene [mark@evertrue.com](mailto:mark@evertrue.com) wrote:

> I've noticed periodically that data nodes in my cluster will run out of  
> heap space when large segments start merging. I attached a screenshot of  
> what marvel looked like leading up to the OOME on one of my data nodes.
> 
> My question is, generally speaking, what knobs should I be turning to  
> throttle resource consumption when large segment files are being merged?
> 
> I'm running ES version 1.4.1.
> 
> Thanks,  
> Mark
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/35f2c096-ee1e-4a30-a11c-0177e84356ff%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/35f2c096-ee1e-4a30-a11c-0177e84356ff%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/35f2c096-ee1e-4a30-a11c-0177e84356ff%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/35f2c096-ee1e-4a30-a11c-0177e84356ff%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKHUQPi4\_NZdB\_0xZ1-13ke2qJOUr%3DuH9BUzHTj5Em0GWJ3uNg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKHUQPi4_NZdB_0xZ1-13ke2qJOUr%3DuH9BUzHTj5Em0GWJ3uNg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:27am UTC](https://discuss.elastic.co/t/oome-when-large-segments-merge/22642/3 "2017-07-06T00:27:07Z")

</div>


