A common question about ElasticSearch (ES) setup is : “How much memory should be allocated to ElasticSearch Java Virtual Machine ?”.