Is there a cookbook guide for GC problems?

前端 未结 2 1194
一向
一向 2020-12-04 09:16

Almost everyone eventually runs into GC issues with Java.

Is there a cookbook guide or semi-automated tool to tune GC for Java?

My rationale is this:

2条回答
  •  天命终不由人
    2020-12-04 10:14

    References for various GC information:

    Oracle

    Tuning Garbage Collection with the 5.0 Java[tm] Virtual Machine

    and this also

    Java SE 6 HotSpot[tm] Virtual Machine Garbage Collection Tuning

    IBM

    Fine Tuning Garbage Collection [link dead]

    Extensible Verbose Toolkit

    SAP JVM

    Memory Management (Garbage Collection)

    Detecting Memory Leaks

    Detecting Hanging / Looping VMs

    Analyzing Out-of-Memory Situations

    Sorry I don't know much about SAP but have provided some things I have found.

    As for a cookbook, tuning is most likely application specific at this level, but it is an interesting topic.

    ADDENDUM

    You also mentioned analysis tools. Some candidates are listed here:

    Know of any Java garbage collection log analysis tools?

提交回复
热议问题