# FieldData Cache Size

**URL:** <https://discuss.elastic.co/t/fielddata-cache-size/61233>\
**Category:** Elasticsearch\
**Created:** [September 22, 2016, 10:17am UTC](https://discuss.elastic.co/t/fielddata-cache-size/61233 "2016-09-22T10:17:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdmac](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@jdmac](https://discuss.elastic.co/u/jdmac)\
**Post date:** [September 22, 2016, 10:17am UTC](https://discuss.elastic.co/t/fielddata-cache-size/61233/1 "2016-09-22T10:17:17Z")

</div>

Hi All,

I have a running cluster that I'm trying to apply the indices.fielddata.cache.size as per [https://www.elastic.co/guide/en/elasticsearch/guide/current/\_limiting\_memory\_usage.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/_limiting_memory_usage.html).

What isn't clear to me, do I just need to rolling restart each member or the cluster as a whole?

Is there a method through the API to check what the current setting (cluster-wide and per node) is for this?  
Can this be applied to a running cluster via cluster settings api?

Many thanks,

jdmac

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [September 23, 2016, 7:33am UTC](https://discuss.elastic.co/t/fielddata-cache-size/61233/2 "2016-09-23T07:33:53Z")

</div>

Hi @jdmac,

> [@jdmac](#):
>
> What isn't clear to me, do I just need to rolling restart each member or the cluster as a whole?

A rolling restart is sufficient.

> [@jdmac](#):
>
> Is there a method through the API to check what the current setting (cluster-wide and per node) is for this?

None that I am aware of.

> [@jdmac](#):
>
> Can this be applied to a running cluster via cluster settings api?

No, as this setting is "static" and cannot be changed while a node is running (see [reference docs](https://www.elastic.co/guide/en/elasticsearch/reference/2.4/circuit-breaker.html#fielddata-circuit-breaker))

Daniel

---

<div class="post-metadata">

**Author:** ![jdmac](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@jdmac](https://discuss.elastic.co/u/jdmac)\
**Post date:** [September 23, 2016, 7:47am UTC](https://discuss.elastic.co/t/fielddata-cache-size/61233/3 "2016-09-23T07:47:08Z")

</div>

Thanks Daniel. So, this is a per node setting only, right? Hence a cold  
restart of the cluster is not required?

Thanks,

jdmac

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [September 23, 2016, 7:48am UTC](https://discuss.elastic.co/t/fielddata-cache-size/61233/4 "2016-09-23T07:48:28Z")

</div>

Hi @jdmac,

correct, this is a per node setting. No cold restart required.

Daniel

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:17pm UTC](https://discuss.elastic.co/t/fielddata-cache-size/61233/5 "2017-07-05T22:17:49Z")

</div>


