From pcperera at gmail.com Mon Sep 7 07:45:46 2020 From: pcperera at gmail.com (Priyanka Perera) Date: Mon, 7 Sep 2020 13:15:46 +0530 Subject: G1 vs CMS memory footprint on no-load Message-ID: Hi All, Our application runs with below settings on *java-11-openjdk-11.0.3.7-1.el7.x86_64*. *-Xms 256m* *-Xmx 2048m* We noticed that *G1 *produces a large memory footprint *(175%)* compared to *CMS* when the application is idle. In the case of a sudden memory pressure, can *G1* recover memory efficiently compared to *CMS *although *G1 *memory footprint is larger ? *G1* [image: Analysis - heap usage with G1.png] *CMS* [image: Analysis - heap usage with CMS.png] Thanks Priyanka -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Analysis - heap usage with G1.png Type: image/png Size: 19149 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Analysis - heap usage with CMS.png Type: image/png Size: 16750 bytes Desc: not available URL: