Configuration settings go in your elasticsearch.yml file.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: [email protected]
web: www.campaignmonitor.com


On 27 February 2014 02:51, Zachary Tong <[email protected]> wrote:

> 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 configs?
>>
>> I've tested server memory usage. Elasticserach service use memory alot.
>>
>> Thank you :)
>>
>> 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:
>>>
>>> http://www.elasticsearch.org/guide/en/elasticsearch/
>>> reference/current/index-modules-fielddata.html
>>>
>>> The filter cache settings are here:
>>>
>>> http://www.elasticsearch.org/guide/en/elasticsearch/
>>> reference/current/index-modules-cache.html
>>>
>>> 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 protected].
> 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.
>

-- 
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 protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEM624ZFCJxuRZWZsg69tmHcWmFX0bn5YBxjHAqTS%2BMYirHYeA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to