Heap Allocation in ZGC

70 views Asked by At

My application uses 20 GB of RAM for storing the session data i.e. JVM size to store. The sessions are referred, updated and cleared continuously producing qt high number of unused objects every second (around 2 Gb in 5 to 10 minutes). We are planning to move from G1 to ZGC considering its low latency benefits. The main doubt considering the testing of ZGC is how much head room should I give for the ZGCs internal requirements considering its view on Java heap marked0, marked1, remapped which has 3 different virtual memory mappings.

The is just the head room I have to provide for ZGC internal requirements like 20% more, other buffers related to application, we will provide based on the memory occupation. I could not find a proper recommendation for this.

Thanks Nav

ZGC Tuning, the -Xms & -Xmx configurations were referred from current G1 configs as it is now but would like to understand if we need to have a higher Xm allocation considering ZGC memory requirements.

0

There are 0 answers