Java JVM Garbage Collection Log Analysis: Allocation Failure and Heap State
This is a log message generated by the Java Virtual Machine (JVM) during garbage collection (GC).
The first part of the message '[GC (Allocation Failure)' indicates that a garbage collection cycle was triggered due to an allocation failure in the young generation of the heap.
The second part of the message '[PSYoungGen: 61951K->3203K(71680K)] 114253K->57624K(246784K)' provides information about the current state of the heap before and after garbage collection. Specifically, it shows that the size of the young generation decreased from 61951K to 3203K, while the overall heap size decreased from 114253K to 57624K. The total size of the heap is 246784K.
The final part of the message '[Times: user=0.01 sys=0.00, real=0.02 secs]' provides timing information about the garbage collection cycle. Specifically, it shows that the garbage collection took 0.02 seconds in real time, with 0.01 seconds of CPU time used by the user. No CPU time was used by the system during this garbage collection cycle.
原文地址: https://www.cveoy.top/t/topic/nmoS 著作权归作者所有。请勿转载和采集!