# Heap usage issue

**URL:** <https://discuss.elastic.co/t/heap-usage-issue/224554>\
**Category:** Elasticsearch\
**Created:** [March 22, 2020, 11:42am UTC](https://discuss.elastic.co/t/heap-usage-issue/224554 "2020-03-22T11:42:13Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![YvorL](https://avatars.discourse-cdn.com/v4/letter/y/9fc348/32.png) [@YvorL](https://discuss.elastic.co/u/YvorL)\
**Post date:** [April 4, 2020, 11:44am UTC](https://discuss.elastic.co/t/heap-usage-issue/224554/11 "2020-04-04T11:44:57Z")

</div>

@HenningAndersen I'm sorry to tag you in but I saw [this](https://discuss.elastic.co/t/g1gc-cause-circuitbreakingexception-parent-data-too-large-on-7-1-1/187272/33) thread which is similar to my issue. Here are my current custom JVM settings:

```
-Xms30g
-Xmx30g
-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=75
-XX:+UseCMSInitiatingOccupancyOnly
10-:-XX:-UseConcMarkSweepGC
10-:-XX:-UseCMSInitiatingOccupancyOnly
10-:-XX:+UseG1GC
10-:-XX:InitiatingHeapOccupancyPercent=45
10-:-XX:G1ReservePercent=15
-XX:MaxGCPauseMillis=700
-XX:NewRatio=4
-XX:SurvivorRatio=6

```

Do you have any idea how can I stop this behavior?

---

_[View the full topic](https://discuss.elastic.co/t/heap-usage-issue/224554)._
