Error: Could not create the Java Virtual Machine. ES won't start

Hello,

I've tried to follow this step https://discuss.elastic.co/t/elasticsearch-logs-are-getting-piled-up-in-var-log-elasticsearch-path-how-to-cater-to-this-problem/186039 to do the log rotation but when I tried to restart the elasticsearch It cannot start anymore.

Please hep. Thank you. I'm not really sure what to do since I just followed the steps given.

Oct 27 11:26:26 - systemd-entrypoint[3571565]: Error: Could not create the Java Virtual Machine.
Oct 27 11:26:26 - systemd-entrypoint[3571565]: Error: A fatal exception has occurred. Program will exit.
Oct 27 11:26:26 - systemd-entrypoint[3571565]:         at org.elasticsearch.tools.launchers.JvmOption.flagsFinal(JvmOption.java:119)
Oct 27 11:26:26 - systemd-entrypoint[3571565]:         at org.elasticsearch.tools.launchers.JvmOption.findFinalOptions(JvmOption.java:81)
Oct 27 11:26:26 - systemd-entrypoint[3571565]:         at org.elasticsearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:38)
Oct 27 11:26:26 - systemd-entrypoint[3571565]:         at org.elasticsearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:135)
Oct 27 11:26:26 - systemd-entrypoint[3571565]:         at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:86)

Additional information is that we're using 7.15. I only followed the link provided above since we're having the same issue. Thank you.

Can you please share more of your Elasticsearch log, and your elasticsearch.yml.

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