engineyard/ey-cloud-recipes — pull request #25 by courtenay (2011-12-19 15:25:20+00:00)
Title: Elasticsearch runs out of heap immediately on large datasets

Because JAVA_OPTS gets rewritten halfway down the .sh file. Oops! Patch attached.