# Issue with RecyclerBytesStreamOutput

**URL:** <https://discuss.elastic.co/t/issue-with-recyclerbytesstreamoutput/325996>\
**Category:** Elasticsearch\
**Created:** [February 20, 2023, 4:57pm UTC](https://discuss.elastic.co/t/issue-with-recyclerbytesstreamoutput/325996 "2023-02-20T16:57:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aurelien.guillaume](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@aurelien.guillaume](https://discuss.elastic.co/u/aurelien.guillaume)\
**Post date:** [February 20, 2023, 4:57pm UTC](https://discuss.elastic.co/t/issue-with-recyclerbytesstreamoutput/325996/1 "2023-02-20T16:57:51Z")

</div>

Hi,

I'm new in the usage of Elasticsearch (integrated into a security onion appliance)

I'm working to get a huge query (2.5M logs), and I'm stuck with this error message

```auto
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "RecyclerBytesStreamOutput cannot hold more than 2GB of data"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "RecyclerBytesStreamOutput cannot hold more than 2GB of data"
  },
  "status": 400
}

```

can you help me going over the 2GB limit ?

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 21, 2023, 2:57am UTC](https://discuss.elastic.co/t/issue-with-recyclerbytesstreamoutput/325996/2 "2023-02-21T02:57:49Z")

</div>

Welcome to our community! 😃

> [@aurelien.guillaume](#):
>
> I'm working to get a huge query (2.5M logs), and I'm stuck with this error message

What is the query?  
What version of Elasticsearch?

---

<div class="post-metadata">

**Author:** ![aurelien.guillaume](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@aurelien.guillaume](https://discuss.elastic.co/u/aurelien.guillaume)\
**Post date:** [February 21, 2023, 1:24pm UTC](https://discuss.elastic.co/t/issue-with-recyclerbytesstreamoutput/325996/3 "2023-02-21T13:24:43Z")

</div>

Hi Warkolm,  
Thanks 🙂

the query is the following (hostname as been removed from the query), I did not write myself this query, I've reformatted it from a Kibana request as I don't know yet how to properly write one

```auto
{"query": {"bool": {"must": [],"filter": [{"multi_match": {"type": "phrase","query": "some-hostname","lenient": true}},{"match_phrase":{"event.dataset.keyword":"syslog"}},{"range": {"@timestamp": {"format": "strict_date_optional_time","gte": "2023-02-11T09:00:00.000Z","lte": "2023-02-13T02:00:00.000Z"}}}],"should": [],"must_not": []}}}

```

and the version number is 8.6.1

regards,

---

<div class="post-metadata">

**Author:** ![aurelien.guillaume](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@aurelien.guillaume](https://discuss.elastic.co/u/aurelien.guillaume)\
**Post date:** [March 7, 2023, 4:03pm UTC](https://discuss.elastic.co/t/issue-with-recyclerbytesstreamoutput/325996/4 "2023-03-07T16:03:26Z")

</div>

Hi,  
is anyone having a solution for that ?

Thanks,

---

<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:** [April 4, 2023, 4:03pm UTC](https://discuss.elastic.co/t/issue-with-recyclerbytesstreamoutput/325996/5 "2023-04-04T16:03:28Z")

</div>

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