elasticsearch/elasticsearch — pull request #3460 by benmccann (2013-08-08 04:30:04+00:00)
Title: Default heap size to 50% of memory for more reasonable out-of-the box performance

I'm new to ElasticSearch. I just installed ElasticSearch, inserted a bunch of documents, and tried to query it. Performance was horrible. I learned on the mailing list that a reasonable default for ES_HEAP_SIZE is 50% of system memory and that a much smaller value is used by default. It would be very nice if best practices were documented somewhere on the ElasticSearch site. It's hard to know as a beginner where to look to see what settings have defaults which are not suitable for production use. If I stick millions of records into MongoDB or MySQL with the default settings then they do not fall over even if they are not tuned exactly for my particular use case. It would be great for introducing people to ElasticSearch if it were as similarly easy to get started with.