G1 GC Patameters

Shawn Heisey java at elyograg.org
Fri Aug 17 16:40:37 UTC 2018


On 8/16/2018 5:26 PM, Narasimha C Achi wrote:
> We are using below mentioned JVM parameters to resolve to-space and
> allocation failure issues for 6GB Heap Size. Kindly let us know whether
> the settings mentioned are useful and handle number of requests 50000 on
> per each manager server( 6 managed servers).

There's no way anyone can answer your question without seeing your
application in action.  We have no idea what your application does when
it receives a request, so it's difficult to say whether your settings
are good or not.

Based on what I saw when I submitted your GC logs to http://gceasy.io, I
agree with Thomas that either your heap is too small or your application
has a memory leak.  Or both problems might exist.  If there is a memory
leak, then it's a slow one -- it took about 20 days for heap usage after
GC to consume most of the heap.  Based on how long it took for the heap
usage to get so high, and other details (including the fact that the
reclaimed bytes got smaller as the application continued running), I
think a memory leak (programming error) could be very likely.

Thanks,
Shawn


More information about the hotspot-gc-use mailing list