# Elasticsearch installation failed for some reason

**URL:** <https://discuss.elastic.co/t/elasticsearch-installation-failed-for-some-reason/240612>\
**Category:** Elasticsearch\
**Created:** [July 9, 2020, 10:53pm UTC](https://discuss.elastic.co/t/elasticsearch-installation-failed-for-some-reason/240612 "2020-07-09T22:53:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Splunk](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Splunk](https://discuss.elastic.co/u/Splunk)\
**Post date:** [July 9, 2020, 10:53pm UTC](https://discuss.elastic.co/t/elasticsearch-installation-failed-for-some-reason/240612/1 "2020-07-09T22:53:12Z")

</div>

Hi Guys, this is the issue I am facing while I'm trying to install ES on my EC2 instance.

```auto
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0
 OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c5330000, 986513408,
elasticsearch[7723]: at org.elasticsearch.tools.launchers.JvmErgonomics.flagsFinal(JvmErgonomics.java:
elasticsearch[7723]: at org.elasticsearch.tools.launchers.JvmErgonomics.finalJvmOptions(JvmErgonomics.
 elasticsearch[7723]: at org.elasticsearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:59)
 elasticsearch[7723]: at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:
systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
 systemd[1]: Failed to start Elasticsearch.
 systemd[1]: elasticsearch.service: Unit entered failed state.
 systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
~
~
~
~

```

---

<div class="post-metadata">

**Author:** ![Splunk](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Splunk](https://discuss.elastic.co/u/Splunk)\
**Post date:** [July 10, 2020, 3:04am UTC](https://discuss.elastic.co/t/elasticsearch-installation-failed-for-some-reason/240612/2 "2020-07-10T03:04:27Z")

</div>

my guess is issue with the java version seems like. experts what you suggest ??

---

<div class="post-metadata">

**Author:** ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)\
**Post date:** [July 10, 2020, 4:31am UTC](https://discuss.elastic.co/t/elasticsearch-installation-failed-for-some-reason/240612/3 "2020-07-10T04:31:30Z")

</div>

Looks like RAM issue - what are your RAM size and JVM heap sizes? Looks like maybe it can't allocate RAM for the HEAP (though I'd hope it'd say so).

---

<div class="post-metadata">

**Author:** ![Splunk](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Splunk](https://discuss.elastic.co/u/Splunk)\
**Post date:** [July 10, 2020, 5:47pm UTC](https://discuss.elastic.co/t/elasticsearch-installation-failed-for-some-reason/240612/6 "2020-07-10T17:47:20Z")

</div>

I figured out. you're right man that is RAM allocation issue. thank you.

---

<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:** [August 7, 2020, 5:47pm UTC](https://discuss.elastic.co/t/elasticsearch-installation-failed-for-some-reason/240612/7 "2020-08-07T17:47:22Z")

</div>

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