<div dir="ltr">  Hi All,<br>I'm facing a peculiar issue where i do see a full GC intermittently but i've not been able to figure out a deterministic way to trigger a full GC.<br>I need full GC so that memory is allocated back to OS, this is for k8s HPA scale down to work. <br>Here is the JVM config that i'm using:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>              -Xmx9830M</div><blockquote><div>    -Xms3200M</div>      -Xlog:gc*:file=/tmp/gc.log:time,uptime<br>      -server<br>      -XX:MetaspaceSize=96m<br>      -XX:+UseG1GC<br>      -XX:MaxGCPauseMillis=200<br>      -XX:+PrintFlagsFinal<br>      -XX:InitiatingHeapOccupancyPercent=100<br>      -XX:+ExplicitGCInvokesConcurrent<br>      -XX:G1HeapRegionSize=16<br>      -XX:MinMetaspaceFreeRatio=50<br>      -XX:MaxMetaspaceFreeRatio=80<br>      -XX:G1PeriodicGCInterval=5000<br>      -XX:G1PeriodicGCSystemLoadThreshold=10.0<br>      -XX:-G1PeriodicGCInvokesConcurrent<br>      -XX:+UnlockDiagnosticVMOptions<br>      -XX:-G1UsePreventiveGC</blockquote></blockquote><div>I've set InitiatingHeapOccupancyPercent to 100, because i don't want any concurrent GC( i read because of concurrent GC, full GC won't be triggered).<br><br>Please help me out. TIA.<div class="gmail-yj6qo"></div><br class="gmail-Apple-interchange-newline"></div></div>