# Elastic Server is stopped and not starting

**URL:** <https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798>\
**Category:** Elasticsearch\
**Created:** [January 24, 2018, 4:46am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798 "2018-01-24T04:46:58Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![aneesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aneesh/32/37819_2.png) [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Post date:** [January 24, 2018, 4:46am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798/1 "2018-01-24T04:46:59Z")

</div>

Hi

Elastic Search is stopped and not restarting.  
Attached log file.  
Please help me to find what is the issue and how can i solve it?  
\*\*Attached log file screenshots

Thanks  
Aneesh L

 ![2](https://us1.discourse-cdn.com/elastic/original/3X/0/8/0831a43a1064e309470ff7e68162a2a5cc0bb564.jpg) ![3](https://us1.discourse-cdn.com/elastic/original/3X/b/e/be4a2d6faf947a11bd18a60f25f00b31f3b8fe96.jpg) ![1](https://us1.discourse-cdn.com/elastic/original/3X/2/0/209194222802d849c27fe17fe8122a0af8a3504a.jpg)

---

<div class="post-metadata">

**Author:** ![Abhilash\_Bolla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhilash_bolla/32/26840_2.png) [@Abhilash\_Bolla](https://discuss.elastic.co/u/Abhilash_Bolla)\
**Post date:** [January 24, 2018, 5:30am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798/2 "2018-01-24T05:30:43Z")

</div>

The JAVA heap space is full and it has thrown an OutOfMemory error. Try increasing the heap space allocated to Elasticsearch and restart the Elasticsearch service. Also what kind of queries are you running, a heap of 1.3GB is quite less for Elasticsearch.

---

<div class="post-metadata">

**Author:** ![aneesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aneesh/32/37819_2.png) [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Post date:** [January 24, 2018, 6:04am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798/3 "2018-01-24T06:04:16Z")

</div>

Hi

I increased heap size manually in the JVM file. But its not restarting.  
Without reinstall is it possible to start again?

Thanks  
Aneesh

 ![IMG_24012018_111712_0](https://us1.discourse-cdn.com/elastic/original/3X/4/7/470b1d09f443ff1d1bb739edd3aaa16ec2c33417.png)

---

<div class="post-metadata">

**Author:** ![aneesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aneesh/32/37819_2.png) [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Post date:** [January 24, 2018, 6:13am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798/4 "2018-01-24T06:13:51Z")

</div>

Hi

Data folder is having only 900MB data, then also is failed (Wndows 7)  
data folder 40MB in windows 10 also failed  
Heap size is related to data folder size or not?

Thanks  
Aneesh

---

<div class="post-metadata">

**Author:** ![Abhilash\_Bolla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhilash_bolla/32/26840_2.png) [@Abhilash\_Bolla](https://discuss.elastic.co/u/Abhilash_Bolla)\
**Post date:** [January 24, 2018, 6:16am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798/5 "2018-01-24T06:16:35Z")

</div>

Heap size is independent of the disk size available. What do the logs say?

---

<div class="post-metadata">

**Author:** ![aneesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aneesh/32/37819_2.png) [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Post date:** [January 24, 2018, 6:22am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798/6 "2018-01-24T06:22:10Z")

</div>

Logs screenshot is attached in first question.  
It says about heap size - out of memmory error

---

<div class="post-metadata">

**Author:** ![Abhilash\_Bolla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhilash_bolla/32/26840_2.png) [@Abhilash\_Bolla](https://discuss.elastic.co/u/Abhilash_Bolla)\
**Post date:** [January 24, 2018, 6:23am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798/7 "2018-01-24T06:23:32Z")

</div>

The logs attached don't indicate any service restart, could you post the logs after the service has been restarted.

---

<div class="post-metadata">

**Author:** ![aneesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aneesh/32/37819_2.png) [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Post date:** [January 24, 2018, 6:28am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798/8 "2018-01-24T06:28:36Z")

</div>

I am not able to restart it

---

<div class="post-metadata">

**Author:** ![Abhilash\_Bolla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhilash_bolla/32/26840_2.png) [@Abhilash\_Bolla](https://discuss.elastic.co/u/Abhilash_Bolla)\
**Post date:** [January 24, 2018, 9:21am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798/9 "2018-01-24T09:21:21Z")

</div>

How are you trying to start the elasticsearch service?

---

<div class="post-metadata">

**Author:** ![aneesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aneesh/32/37819_2.png) [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Post date:** [January 24, 2018, 9:25am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798/10 "2018-01-24T09:25:26Z")

</div>

From windows services I am trying to start

---

<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:** [February 21, 2018, 9:26am UTC](https://discuss.elastic.co/t/elastic-server-is-stopped-and-not-starting/116798/11 "2018-02-21T09:26:02Z")

</div>

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