# Elasticsearch not starting {0.90.0} : Startup Failed

**URL:** <https://discuss.elastic.co/t/elasticsearch-not-starting-0-90-0-startup-failed/12307>\
**Category:** Elasticsearch\
**Created:** [June 6, 2013, 10:53pm UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-0-90-0-startup-failed/12307 "2013-06-06T22:53:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sai](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@sai](https://discuss.elastic.co/u/sai)\
**Post date:** [June 6, 2013, 10:53pm UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-0-90-0-startup-failed/12307/1 "2013-06-06T22:53:55Z")

</div>

I am not able to start elasticsearch. I tried

bin/elasticsearch

bin/elasticsearch -f

bin/elasticsearch -f ES\_HEAP\_SIZE=4g

but I keep getting the following message after a two-second pause...

{0.90.0}: Startup Failed ...

- OutOfMemoryError[unable to create new native thread]

NOTE 1: elasticsearch was working perfectly for me before I indexed 4 million documents into the server, after which I kept getting this error.

NOTE 2: even though elasticsearch does not startup, I am still able to execute the curl command on the elasticsearch server (strange indeed because elasticsearch is not running on the host machine - using ps command)

curl -XGET [http://localhost:9200](http://localhost:9200)  
{  
"ok" : true,  
"status" : 200,  
"name" : "Thumbelina",  
"version" : {  
"number" : "0.90.0",  
"snapshot\_build" : false  
},  
"tagline" : "You Know, for Search"  
}

My guess is that one of the search queries to the 4 million documents is still running but I tried exiting the terminal, killing the process, increasing the heap size and stopping the elasticsearch process using bin/elasticsearch stop. My elasticsearch version is 0.90.0. Sorry for the long question and any help would be great. Thanks.

---

<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:** [July 6, 2017, 2:32am UTC](https://discuss.elastic.co/t/elasticsearch-not-starting-0-90-0-startup-failed/12307/2 "2017-07-06T02:32:29Z")

</div>

Closed on July 6, 2017, 2:32am UTC


