Hello, Are you familiar with how Initiating Heap Occupancy Percent works in G1? Do you want something else?
https://docs.oracle.com/javase/9/gctuning/garbage-first-garbage-collector.htm#JSGCT-GUID-572C9203-AB27-46F1-9D33-42BA4F3C6BF3 https://docs.oracle.com/en/java/javase/13/gctuning/garbage-first-garbage-collector.html#GUID-AC383806-7FA7-4698-8B92-4FD092B9F368 Pas On Mon, Feb 24, 2020, 08:45 mohd shaban <mohdshaban000...@gmail.com> wrote: > Hi Team, > > Is there a way to force GC when heap usage goes beyond a certain > threshold?. > I am using G1GC Algorithm. > > Thanks, > Mohd Shaban > _______________________________________________ > hotspot-gc-use mailing list > hotspot-gc-use@openjdk.java.net > https://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use >
_______________________________________________ hotspot-gc-use mailing list hotspot-gc-use@openjdk.java.net https://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use