Where do I set ES_HEAP_SIZE when not using the Service Wrapper?


(tbrianjones) #1

I'm not using the Service Wrapper for Elasticsearch.

I specify the ES_HEAP_SIZE when I start Elasticsearch like this:

ES_HEAP_SIZE=4g /usr/local/elasticsearch/bin/elasticsearch

Is there a place I can set this so it does not need to be specified on
launch?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f8746fd9-5409-4f58-8e6c-43bf834e029c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jörg Prante) #2

You can set ES_HEAP_SIZE as environment variable in your shell.

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFR46udyWXFV0A7sJ0s964sn%2BsvMHWxt3sncCP_Ru4m6A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3