G1GC is not able reclaim bytes

shang xinli shangxinli at hotmail.com
Tue Aug 13 15:01:51 UTC 2019


There are two connected full GC but they are not able to reclaim bytes. Here are gc logs.


 [Times: user=0.35 sys=0.00, real=0.03 secs]

2019-08-01T15:12:14.594+0000: 755123.074: [Full GC (Allocation Failure)  132G->132G(180G), 37.4525886 secs]

   [Eden: 0.0B(9216.0M)->0.0B(9216.0M) Survivors: 0.0B->0.0B Heap: 132.1G(180.0G)->132.1G(180.0G)], [Metaspace: 204550K->204459K(229376K)]

 [Times: user=68.14 sys=0.07, real=37.45 secs]

2019-08-01T15:12:52.048+0000: 755160.527: [Full GC (Allocation Failure)  132G->132G(180G), 37.4584894 secs]

   [Eden: 0.0B(9216.0M)->0.0B(9216.0M) Survivors: 0.0B->0.0B Heap: 132.1G(180.0G)->132.1G(180.0G)], [Metaspace: 204459K->204451K(229376K)]

 [Times: user=68.38 sys=0.05, real=37.46 secs]

Here is the chart. We can see before and after GC, the heap is almost the same.
[cid:65dca3e8-3bc4-4b87-93dc-997ba0e601f2]


The service OOMs eventually, but we don't configure to generate heap dump. Is there a way to investigate why?




More information about the hotspot-gc-dev mailing list