# Getting "I/O dispatcher 1" java.lang.OutOfMemoryError: Direct buffer memory

**URL:** <https://discuss.elastic.co/t/getting-i-o-dispatcher-1-java-lang-outofmemoryerror-direct-buffer-memory/235013>\
**Category:** Elasticsearch\
**Created:** [May 30, 2020, 12:04pm UTC](https://discuss.elastic.co/t/getting-i-o-dispatcher-1-java-lang-outofmemoryerror-direct-buffer-memory/235013 "2020-05-30T12:04:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HShetty](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@HShetty](https://discuss.elastic.co/u/HShetty)\
**Post date:** [May 30, 2020, 12:04pm UTC](https://discuss.elastic.co/t/getting-i-o-dispatcher-1-java-lang-outofmemoryerror-direct-buffer-memory/235013/1 "2020-05-30T12:04:14Z")

</div>

Continuing the discussion from [Getting the error - Request cannot be executed; I/O reactor status: STOPPED](https://discuss.elastic.co/t/getting-the-error-request-cannot-be-executed-i-o-reactor-status-stopped/223702/6):

2020-05-28T15:24:52.96+0530 [RTR/0] OUT  
2020-05-28T15:24:53.72+0530 [APP/PROC/WEB/0] ERR Exception in thread "I/O dispatcher 1" java.lang.OutOfMemoryError: Direct buffer memory  
2020-05-28T15:24:53.72+0530 [APP/PROC/WEB/0] ERR at java.nio.Bits.reserveMemory(Bits.java:694)  
2020-05-28T15:24:53.72+0530 [APP/PROC/WEB/0] ERR at java.nio.DirectByteBuffer.(DirectByteBuffer.java:123)

2020-05-28T13:37:03.99+0530 [RTR/4] OUT  
2020-05-28T13:37:04.25+0530 [APP/PROC/WEB/0] OUT 2020-05-28 08:07:04.256 ERROR 14 --- [io-8080-exec-10] c.d.d.e.ElasticSearchRepositoryImpl : Exception :: java.lang.IllegalStateException: Request cannot be executed; I/O reactor status: STOPPED  
2020-05-28T13:37:04.25+0530 [APP/PROC/WEB/0] OUT at org.apache.http.util.Asserts.check(Asserts.java:46)

---

<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:** [June 27, 2020, 12:04pm UTC](https://discuss.elastic.co/t/getting-i-o-dispatcher-1-java-lang-outofmemoryerror-direct-buffer-memory/235013/2 "2020-06-27T12:04:20Z")

</div>

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