How to do force full garbage collection when heap usage goes beyond a certain threshold

Pas pasthelod at gmail.com
Mon Feb 24 09:08:35 UTC 2020


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 <mohdshaban000123 at 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 at openjdk.java.net
> https://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20200224/c47742c6/attachment.htm>


More information about the hotspot-gc-use mailing list