# Random file generated by elasticsearch

**URL:** https://discuss.elastic.co/t/random-file-generated-by-elasticsearch/259453
**Category:** Elasticsearch
**Created:** [December 23, 2020, 7:34am UTC](https://discuss.elastic.co/t/random-file-generated-by-elasticsearch/259453 "2020-12-23T07:34:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Aniket\_Pant](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)
#### Post date: [December 23, 2020, 7:34am UTC](https://discuss.elastic.co/t/random-file-generated-by-elasticsearch/259453/1 "2020-12-23T07:34:57Z")

</div>

I am using elasticsearch cluster of 8 node (3Master+3data+2coordinate).In data node there is a file called **java\_pid4907.hprof** of 7.2 gb in elasticsearch data directory this file is present in all elasticsearch data node.Is this file is generated by elasticsearch or OS ? Is it safe to delete this file?  
 ![test](https://us1.discourse-cdn.com/elastic/original/3X/5/1/511604dc26a1c56d41a9f7adf4fe668370ca17f1.png)

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [December 23, 2020, 11:06am UTC](https://discuss.elastic.co/t/random-file-generated-by-elasticsearch/259453/2 "2020-12-23T11:06:38Z")

</div>

The file name indicates it's a heap dump, probably auto-generated by Elasticsearch on an out-of-memory error. Elasticsearch has no further need for this file.

---

<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: [January 20, 2021, 11:06am UTC](https://discuss.elastic.co/t/random-file-generated-by-elasticsearch/259453/3 "2021-01-20T11:06:49Z")

</div>

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