# Error: rejected execution of coordinating operation \[coordinating\_and\_primary\_bytes=0, replica\_bytes=0, all\_bytes=0, coordinating\_operation\_bytes=130953165, max\_coordinating\_bytes=107374182\]"

**URL:** <https://discuss.elastic.co/t/error-rejected-execution-of-coordinating-operation-coordinating-and-primary-bytes-0-replica-bytes-0-all-bytes-0-coordinating-operation-bytes-130953165-max-coordinating-bytes-107374182/382813>\
**Category:** Elasticsearch\
**Tags:** painless\
**Created:** [October 18, 2025, 9:14pm UTC](https://discuss.elastic.co/t/error-rejected-execution-of-coordinating-operation-coordinating-and-primary-bytes-0-replica-bytes-0-all-bytes-0-coordinating-operation-bytes-130953165-max-coordinating-bytes-107374182/382813 "2025-10-18T21:14:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peng\_Dong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peng_dong/32/137123_2.png) [@Peng\_Dong](https://discuss.elastic.co/u/Peng_Dong)\
**Post date:** [October 18, 2025, 9:14pm UTC](https://discuss.elastic.co/t/error-rejected-execution-of-coordinating-operation-coordinating-and-primary-bytes-0-replica-bytes-0-all-bytes-0-coordinating-operation-bytes-130953165-max-coordinating-bytes-107374182/382813/1 "2025-10-18T21:14:00Z")

</div>

Hi, was trying to re-index in elastic. Using the command below:

```auto
POST _reindex?wait_for_completion=false&requests_per_second=50
{
  "source": { 
    "index": "prod-application-2025", 
    "size": 200 
  },
  "dest": { 
    "index": "live-prod-application-2025" 
  },
  "script": {
    "lang": "painless",
    "source": """
      def v = ctx._source.get('SubmitFlow');
      if (v != null && !(v instanceof Number)) {
        ctx._source.SubmitFlow = null;
      }
    """
  }
}

```

and then got the error below:

```auto
"error": {
    "type": "es_rejected_execution_exception",
    "reason": "rejected execution of coordinating operation [coordinating_and_primary_bytes=0, replica_bytes=0, all_bytes=0, coordinating_operation_bytes=130953165, max_coordinating_bytes=107374182]"
  }

```

From the error, it looks like my coordinating operation required ~125 MB, but the limit is ~102 MB,  
This is our jvm heap below:  
ip name heap.current heap.percent heap.max  
10.1.14.159 instance-0000000017 581.8mb 56 1gb  
10.1.9.9 tiebreaker-0000000019 209.5mb 51 408mb  
10.1.18.63 instance-0000000016 605.3mb 59 1gb

is there any way to resolve the issue? Increase the JVM heaps? Thx!
