I am getting the following exception repeatedly each time I try to run the program.
Error occurred during initialization of VM Could not reserve e
Error occurred during initialization of VM
Could not reserve e
I know there are a lot of answers here already, but none of them helped me. In the end I opened the file /etc/elasticsearch/jvm.options and changed:
/etc/elasticsearch/jvm.options
-Xms2G -Xmx2G
to
-Xms256M -Xmx256M
That solved it for me. Hopefully this helps someone else here.