If you're installing elasticsearch for #mastodon v4.2.0-beta1
Turns out if you install #elasticsearch on a system with 64GB of RAM it will eat half of that by default...
I don't know why it would need that much, so I've hard coded it to 4GB in /etc/elasticsearch/jvm.options.d/custom.options with:
-Xms4g
-Xmx4g
@olives It doesn't help I have modded Minecraft servers running on the same box... Also big Java memory eaters! 😵