# Elastic search fails when node.lock file is not empty

**URL:** <https://discuss.elastic.co/t/elastic-search-fails-when-node-lock-file-is-not-empty/182875>\
**Category:** Elasticsearch\
**Created:** [May 27, 2019, 9:44am UTC](https://discuss.elastic.co/t/elastic-search-fails-when-node-lock-file-is-not-empty/182875 "2019-05-27T09:44:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HPVRNP](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hpvrnp/32/37756_2.png) [@HPVRNP](https://discuss.elastic.co/u/HPVRNP)\
**Post date:** [May 27, 2019, 9:44am UTC](https://discuss.elastic.co/t/elastic-search-fails-when-node-lock-file-is-not-empty/182875/1 "2019-05-27T09:44:34Z")

</div>

Hi,  
Environment:  
OS : Windows 64-bit  
ElasticSearch : 6.6.2  
Java: 1.8.151  
Cluster: Single Node cluster  
Index strategy: Indices are created daily and programmatically  
Shard: Single shard per index and no replication

When node.lock has the following content, elastic search stops working. Even restart does not help.

node.lock:  
"java.lang.OutOfMemoryError: Java heap space  
Dumping heap to data ...  
Unable to create data: File exists"

---

<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 24, 2019, 9:44am UTC](https://discuss.elastic.co/t/elastic-search-fails-when-node-lock-file-is-not-empty/182875/2 "2019-06-24T09:44:46Z")

</div>

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