# Lots of byte\[\] in meory

**URL:** <https://discuss.elastic.co/t/lots-of-byte-in-meory/236406>\
**Category:** Elasticsearch\
**Created:** [June 9, 2020, 6:20pm UTC](https://discuss.elastic.co/t/lots-of-byte-in-meory/236406 "2020-06-09T18:20:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yogesh\_BG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yogesh_bg/32/70018_2.png) [@Yogesh\_BG](https://discuss.elastic.co/u/Yogesh_BG)\
**Post date:** [June 9, 2020, 6:20pm UTC](https://discuss.elastic.co/t/lots-of-byte-in-meory/236406/1 "2020-06-09T18:20:19Z")

</div>

Hi

I am using elasticsearch java client 6.6.0

I do index lot of documents ~10K per second, almost 5MB per second  
i am using async api as below, i dont do any action.get, i dont want to check the response, its okay if it fails

` bulkRequests.execute();`

over a period of time lot of byte objects get accumulated as attached in picture its almost 70% of memory

i had set the below property it didn't help,  
System.setProperty("io.netty.allocator.type", "unpooled");  
can anyone help me?

 ![Screen Shot 2020-06-09 at 11.51.29 PM](https://us1.discourse-cdn.com/elastic/original/3X/7/0/70ae6fce46764ee7c278ed246cc05951a17b5244.png)

---

<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 7, 2020, 6:20pm UTC](https://discuss.elastic.co/t/lots-of-byte-in-meory/236406/2 "2020-07-07T18:20:30Z")

</div>

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