# Indices.breaker.total.use\_real\_memory or search.check\_buckets\_step\_size  didn't work

**URL:** <https://discuss.elastic.co/t/indices-breaker-total-use-real-memory-or-search-check-buckets-step-size-didnt-work/260945>\
**Category:** Elasticsearch\
**Created:** [January 13, 2021, 7:38am UTC](https://discuss.elastic.co/t/indices-breaker-total-use-real-memory-or-search-check-buckets-step-size-didnt-work/260945 "2021-01-13T07:38:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![liwanjie](https://avatars.discourse-cdn.com/v4/letter/l/c4cdca/32.png) [@liwanjie](https://discuss.elastic.co/u/liwanjie)\
**Post date:** [January 13, 2021, 7:38am UTC](https://discuss.elastic.co/t/indices-breaker-total-use-real-memory-or-search-check-buckets-step-size-didnt-work/260945/1 "2021-01-13T07:38:19Z")

</div>

I always thought that with this new parameter, requests for too many buckets should be rejected。But I tested it today, making two requests and creating hundreds of thousands of buckets per request。In the end, the machine is still directly OOM。  
My ES version is 7.10.1。I tested not only the case where `indices.breaker.total.use_real_memory` is false, but also the case where `indices.breaker.total.use_real_memory` is true。And the `max_buckets` is the default value of 65535.The result is the same。

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/7/0791f1e6325a2ef2ad19e5d0005f0ec730d213dc.jpeg)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/6/56bbc14c5a6aed49a8dc063757184ae9e6ada46b.png)  
But when I set the `max_buckets` to extremely large (instead of the default value of 65535). The circuit breaker will come into play and the cluster will not crash and will not OOM.  
I feel very confused. I hope you can help me. Thank you very much

---

<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 10, 2021, 7:38am UTC](https://discuss.elastic.co/t/indices-breaker-total-use-real-memory-or-search-check-buckets-step-size-didnt-work/260945/2 "2021-02-10T07:38:48Z")

</div>

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