# JVM Heap usage didn't decline after clearing field data cache by clear cache API

**URL:** https://discuss.elastic.co/t/jvm-heap-usage-didnt-decline-after-clearing-field-data-cache-by-clear-cache-api/16445
**Category:** Elasticsearch
**Created:** [March 19, 2014, 2:51am UTC](https://discuss.elastic.co/t/jvm-heap-usage-didnt-decline-after-clearing-field-data-cache-by-clear-cache-api/16445 "2014-03-19T02:51:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Gary\_Gao](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@Gary\_Gao](https://discuss.elastic.co/u/Gary_Gao)
#### Post date: [March 19, 2014, 2:51am UTC](https://discuss.elastic.co/t/jvm-heap-usage-didnt-decline-after-clearing-field-data-cache-by-clear-cache-api/16445/1 "2014-03-19T02:51:40Z")

</div>

Hi,  
While I cleared field data cache using Clear Cache API:  
$curl -XPOST  
'[http://localhost:9200/\_cache/clear?field\_data=true](http://localhost:9200/_cache/clear?field_data=true)'  
field data cahced size decreased, indeed, but JVM heap usage didn't  
declined.  
What's the reasons ?

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2f60ef42-36a6-4faa-a817-c48ebe36c725%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2f60ef42-36a6-4faa-a817-c48ebe36c725%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:42am UTC](https://discuss.elastic.co/t/jvm-heap-usage-didnt-decline-after-clearing-field-data-cache-by-clear-cache-api/16445/2 "2017-07-06T01:42:20Z")

</div>


