# Reasonable size for max\_async\_search\_response\_size with 40% of docs - size 200kb - 700kb

**URL:** <https://discuss.elastic.co/t/reasonable-size-for-max-async-search-response-size-with-40-of-docs-size-200kb-700kb/354341>\
**Category:** Elasticsearch\
**Created:** [February 28, 2024, 12:37pm UTC](https://discuss.elastic.co/t/reasonable-size-for-max-async-search-response-size-with-40-of-docs-size-200kb-700kb/354341 "2024-02-28T12:37:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elk1985](https://avatars.discourse-cdn.com/v4/letter/e/58956e/32.png) [@elk1985](https://discuss.elastic.co/u/elk1985)\
**Post date:** [February 28, 2024, 12:37pm UTC](https://discuss.elastic.co/t/reasonable-size-for-max-async-search-response-size-with-40-of-docs-size-200kb-700kb/354341/1 "2024-02-28T12:37:43Z")

</div>

Hello.  
My cluster is growing. Lately I have done an analysis because of max\_async\_search\_response\_size error - that was making my searches imposible in some cases.  
Around 40% of my documents (not indexes) are size from 200kb to 700 kb, and one of the app is generating 2MB documents.  
Currently my data nodes have 8GB of RAM and JVM set to 2GB - 4GB.  
I can double the RAM size per node and set more JVM.  
What size of max\_async\_search\_response\_size should fix that error with the cluster work stable ? Are we talking 20MB , 50MB , 100MB ?  
Will be grateful for all suggestions.  
Regards

---

<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:** [March 27, 2024, 12:38pm UTC](https://discuss.elastic.co/t/reasonable-size-for-max-async-search-response-size-with-40-of-docs-size-200kb-700kb/354341/2 "2024-03-27T12:38:21Z")

</div>

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