# Elasticsearch jvm memory usage show on x-pack

**URL:** <https://discuss.elastic.co/t/elasticsearch-jvm-memory-usage-show-on-x-pack/212630>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [December 20, 2019, 8:49am UTC](https://discuss.elastic.co/t/elasticsearch-jvm-memory-usage-show-on-x-pack/212630 "2019-12-20T08:49:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![imperio-wxm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/imperio-wxm/32/59818_2.png) [@imperio-wxm](https://discuss.elastic.co/u/imperio-wxm)\
**Post date:** [December 20, 2019, 8:49am UTC](https://discuss.elastic.co/t/elasticsearch-jvm-memory-usage-show-on-x-pack/212630/1 "2019-12-20T08:49:00Z")

</div>

I know the jvm memory of es is divided into these parts：

1. Query cache
2. Index buffer
3. Request cache
4. Field data cache
5. Lecence memory

A machine in my cluster:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/8/e88359c8b5af8a6788a0d556a5e29fe60b87f9b7.png)

Query cache = 1G  
Index buffer = 600MB+  
Lecence memory = 8G + 1G  
Request cache = 23MB  
Field data cache = 0

JVM Old use 19G

19G - 1G - 600M - 8G - 1G - 23MB ≈ 8G

Where is more than 8G of memory allocated, why isn't it shown on x-pack?

---

<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:** [January 17, 2020, 8:49am UTC](https://discuss.elastic.co/t/elasticsearch-jvm-memory-usage-show-on-x-pack/212630/2 "2020-01-17T08:49:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
