If you simply want to decrease the amount of memory that Elasticsearch is
using, you need to change your heap size (via the HEAP_SIZE environment
variable). That controls the total memory allocated to Elasticsearch.
Echoing what Binh said...try not to change the field-data settings unless
you know what you are doing. You should not enable soft references for
field-data, this is a very bad option. It causes excessive GC thrashing
and is not needed (especially now that 1.0 has circuit breaker logic built
in). Similarly, the time expiration on field-data is typically a poor
option, since it unnecessarily thrashes the GC too.
On Wednesday, February 26, 2014 10:19:40 AM UTC-5, Hediye Delkhosh wrote:
@Binh Ly thank you for reply.
I don't know where should I insert this configs.
I've installes FOS-elastica in my project, there is a elasticsearch.yml in
my project and another one is in /etc/elasticsearch. where should I insert
I've tested server memory usage. Elasticserach service use memory alot.
On Wednesday, February 26, 2014 6:29:04 PM UTC+3:30, Binh Ly wrote:
For ES 1.0, the field data settings are here:
The filter cache settings are here:
The easiest way is to set these in the elasticsearch.yml file.
I would caution that you'll probably need to first investigate and
understand your memory usage before trying to change any of these settings.
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 email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/325c57fb-7cef-4805-8708-c59ef14f6d73%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.