# Changed JVM heap usage pattern on 7.8.1

**URL:** <https://discuss.elastic.co/t/changed-jvm-heap-usage-pattern-on-7-8-1/247877>\
**Category:** Elasticsearch\
**Created:** [September 8, 2020, 10:57am UTC](https://discuss.elastic.co/t/changed-jvm-heap-usage-pattern-on-7-8-1/247877 "2020-09-08T10:57:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kim-Kruse-Hansen](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@Kim-Kruse-Hansen](https://discuss.elastic.co/u/Kim-Kruse-Hansen)\
**Post date:** [September 8, 2020, 10:57am UTC](https://discuss.elastic.co/t/changed-jvm-heap-usage-pattern-on-7-8-1/247877/1 "2020-09-08T10:57:20Z")

</div>

Hi

Having recently upgraded to 7.8.1 on all our clusters , we are seeing changed JVM heap usage.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/d/2d82ae7f8ea0f1ee2203bff40524e3648b4b1eab.png)

Our max heap usage seems to never go above around 19 GB , no matter what happens in the cluster. Same pattern on all nodes.

We upgraded from 7.6.2 but after upgrade we have started seeing long GC's again, which has not happened in a long time on 7.6.2. GC's in the 5-28 sec range , which is bad for us.

We are wondering with a 31 GB heap on 7.8.1 why it doesnt seem to utilize all available heap. It seems like quite a big part of the heap is reserved.

This is typical over 24 hours.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/9/c9e7c4e1c5c2fe32796776366ffc2c3d5a2f3c39.png)

Any thoughts?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 9, 2020, 12:08am UTC](https://discuss.elastic.co/t/changed-jvm-heap-usage-pattern-on-7-8-1/247877/2 "2020-09-09T00:08:56Z")

</div>

Can you post sections of your log showing the GC?

---

<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:** [October 7, 2020, 12:08am UTC](https://discuss.elastic.co/t/changed-jvm-heap-usage-pattern-on-7-8-1/247877/3 "2020-10-07T00:08:58Z")

</div>

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