# Loading data Vs heapsize occupy

**URL:** <https://discuss.elastic.co/t/loading-data-vs-heapsize-occupy/37105>\
**Category:** Elasticsearch\
**Created:** [December 14, 2015, 9:05am UTC](https://discuss.elastic.co/t/loading-data-vs-heapsize-occupy/37105 "2015-12-14T09:05:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![justnj](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@justnj](https://discuss.elastic.co/u/justnj)\
**Post date:** [December 14, 2015, 9:05am UTC](https://discuss.elastic.co/t/loading-data-vs-heapsize-occupy/37105/1 "2015-12-14T09:05:32Z")

</div>

If I want to make a graph between the amount of data being loaded and cache occupancy and when it triggers OOM . or circuit breaker Exception .

How to check the amount of being loaded for sorting

for example my heap size is 1.5gb

how can I check the amount of data loaded in cache after executing the query

with out using plugin

---

<div class="post-metadata">

**Author:** ![german23](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/german23/32/11052_2.png) [@german23](https://discuss.elastic.co/u/german23)\
**Post date:** [December 14, 2015, 12:14pm UTC](https://discuss.elastic.co/t/loading-data-vs-heapsize-occupy/37105/2 "2015-12-14T12:14:44Z")

</div>

I guess

curl esnode:9200/\_nodes/nodename/stats?pretty

is what you looking for. There you can see fielddata, filter\_cache, heap size, etc..

Also see: [https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html)

---

<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, 11:31pm UTC](https://discuss.elastic.co/t/loading-data-vs-heapsize-occupy/37105/3 "2017-07-05T23:31:18Z")

</div>

Closed on July 5, 2017, 11:31pm UTC


