I have once ES 2.4.1 instance on one Digital Ocean server. It holds about ~2M documents. Quite large.
It uses, at the time of writing, 546Mb of memory. No tuning done. Just 1 shard.
In other project I have ES 5.1.1. Also on Digital Ocean. This project holds about 10,000 documents. All smallish.
The default setting in
-Xmx2g. That ate my server!.
Basically, how do I figure out what my minimum heap size can be for this server?
I guess I can try with
-Xms100m and see how it goes but it would be nice if there were practical and "scientific" guides to this.