# Fielddata getting set to 0 bytes in a few seconds

**URL:** <https://discuss.elastic.co/t/fielddata-getting-set-to-0-bytes-in-a-few-seconds/59386>\
**Category:** Elasticsearch\
**Created:** [August 31, 2016, 5:25am UTC](https://discuss.elastic.co/t/fielddata-getting-set-to-0-bytes-in-a-few-seconds/59386 "2016-08-31T05:25:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![teebu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/teebu/32/10119_2.png) [@teebu](https://discuss.elastic.co/u/teebu)\
**Post date:** [August 31, 2016, 5:25am UTC](https://discuss.elastic.co/t/fielddata-getting-set-to-0-bytes-in-a-few-seconds/59386/1 "2016-08-31T05:25:48Z")

</div>

I'm not sure if this is normal in ES2, but in ES1 this is not happening.

I don't have anything in my config, with field data, ie indices.fielddata.cache.size. indices.breaker.fielddata.limit, etc.

When I perfrom a search, I see some fielddata activity in `_nodes/stats/indices/fielddata?fields=*` and `_cat/fielddata` but after a few seconds they are down to 0. The `evictions` is constantly `0`.

```auto
breakers tripped: 0
evictions: 0

```

I can see in `_nodes/stats/indices/fielddata?fields=*`:

```auto
fielddata: {
memory_size_in_bytes: 11736472,

```

then refresh, and it's:  
`memory_size_in_bytes: 3912,`

Also, here's what the marvel chart looks like: [http://imgur.com/a/aXUYh](http://imgur.com/a/aXUYh)

What could be causing this?

---

<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:23pm UTC](https://discuss.elastic.co/t/fielddata-getting-set-to-0-bytes-in-a-few-seconds/59386/2 "2017-07-05T22:23:46Z")

</div>

Closed on July 5, 2017, 10:23pm UTC


