# Elasticsearch java tuning

**URL:** <https://discuss.elastic.co/t/elasticsearch-java-tuning/104874>\
**Category:** Elasticsearch\
**Created:** [October 23, 2017, 9:09am UTC](https://discuss.elastic.co/t/elasticsearch-java-tuning/104874 "2017-10-23T09:09:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)\
**Post date:** [October 23, 2017, 9:09am UTC](https://discuss.elastic.co/t/elasticsearch-java-tuning/104874/1 "2017-10-23T09:09:33Z")

</div>

Hi,

```
While running a single node ELK 5.6.2 recently I encountered JAVA memory heap error and it crashed the elasticsearch process.

```

Upon restarting elasticsearch I can see following warning messages. Can someone pls confirm in which files these parameters are configured ?

[2017-10-23T06:38:56,872][WARN][o.e.b.BootstrapChecks] [HMgkdpb] max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]  
[2017-10-23T06:38:56,872][WARN][o.e.b.BootstrapChecks] [HMgkdpb] max number of threads [1024] for user [elasticsearch] is too low, increase to at least [2048]  
[2017-10-23T06:38:56,872][WARN][o.e.b.BootstrapChecks] [HMgkdpb] max virtual memory areas vm.max\_map\_count [65530] is too low, increase to at least [262144]

Regards,  
-Manish

---

<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:** [October 25, 2017, 3:34am UTC](https://discuss.elastic.co/t/elasticsearch-java-tuning/104874/2 "2017-10-25T03:34:58Z")

</div>

What does the OOM error show?

---

<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:** [November 22, 2017, 3:35am UTC](https://discuss.elastic.co/t/elasticsearch-java-tuning/104874/3 "2017-11-22T03:35:10Z")

</div>

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