# ElasticSearchParseException when entering indices.fielddata.cache.size in elasticsearch.yml

**URL:** <https://discuss.elastic.co/t/elasticsearchparseexception-when-entering-indices-fielddata-cache-size-in-elasticsearch-yml/12422>\
**Category:** Elasticsearch\
**Created:** [June 14, 2013, 6:32pm UTC](https://discuss.elastic.co/t/elasticsearchparseexception-when-entering-indices-fielddata-cache-size-in-elasticsearch-yml/12422 "2013-06-14T18:32:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brad\_Cavanagh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brad_cavanagh/32/2255_2.png) [@Brad\_Cavanagh](https://discuss.elastic.co/u/Brad_Cavanagh)\
**Post date:** [June 14, 2013, 6:32pm UTC](https://discuss.elastic.co/t/elasticsearchparseexception-when-entering-indices-fielddata-cache-size-in-elasticsearch-yml/12422/1 "2013-06-14T18:32:54Z")

</div>

I am using Elasticsearch 0.90.1. I am attempting to limit the field data  
cache size by using the indices.fielddata.cache.size setting. As per the  
documentation  
at [http://www.elasticsearch.org/guide/reference/index-modules/fielddata/](http://www.elasticsearch.org/guide/reference/index-modules/fielddata/) I  
should be able to put:

indices.fielddata.cache.size: 10GB

...to set an absolute value limit. When I do this and start elasticsearch,  
I get:

1. ElasticSearchParseException[Failed to parse [10GB]]  
NumberFormatException[For input string: "10GB"]

I have tried wrapping this value in double quotes, which fails with the  
same error.

Using a percentage of heap works.

Cheers,  
Brad.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![cthoma](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@cthoma](https://discuss.elastic.co/u/cthoma)\
**Post date:** [June 14, 2013, 11:27pm UTC](https://discuss.elastic.co/t/elasticsearchparseexception-when-entering-indices-fielddata-cache-size-in-elasticsearch-yml/12422/2 "2013-06-14T23:27:10Z")

</div>

You should use  
indices.fielddata.cache.size: 10gb

Documentation should be edited, i think, or ByteSizeValue.java in package  
org.elasticsearch.common.unit adapted.

Am Freitag, 14. Juni 2013 20:32:54 UTC+2 schrieb Brad Cavanagh:

> I am using Elasticsearch 0.90.1. I am attempting to limit the field data  
> cache size by using the indices.fielddata.cache.size setting. As per the  
> documentation at  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/fielddata/) I  
> should be able to put:
> 
> indices.fielddata.cache.size: 10GB
> 
> ...to set an absolute value limit. When I do this and start elasticsearch,  
> I get:
> 
> 1. ElasticSearchParseException[Failed to parse [10GB]]  
> NumberFormatException[For input string: "10GB"]
> 
> I have tried wrapping this value in double quotes, which fails with the  
> same error.
> 
> Using a percentage of heap works.
> 
> Cheers,  
> Brad.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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 6, 2017, 2:31am UTC](https://discuss.elastic.co/t/elasticsearchparseexception-when-entering-indices-fielddata-cache-size-in-elasticsearch-yml/12422/3 "2017-07-06T02:31:09Z")

</div>


