Elasticsearch is pretty much garbage in my opinion, yet it is a requirement for Magento. It constantly consumes over 50% of my RAM on my EC2 ubuntu instance. Every week or so, my website goes down because it can't be reindexed due to the Elasticsearch service being stopped. I know I'm not the only one dealing with this issue. I'm sure it is because the service is being killl by an OOM killer. I've already bumped my EC2 instance to 8GB. I refused to bump it any higher. A website should not be consuming this much ram, it is absolutely insane.
Can someone explain to me how to reduce the memory footprint of Elasticsearch and/or explain to my why it is randomly crashing?