Java Memory Management Performance Analysis: Difference between revisions
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
=Garbage Collection Time Analysis= | =Garbage Collection Time Analysis= | ||
Full collection frequency, time | Full collection frequency, time and CPU usage: | ||
gc event-type:FULL_COLLECTION -o collection-time ./gc.log > gc.csv | gc event-type:FULL_COLLECTION -o collection-time ./gc.log > gc.csv |
Revision as of 15:18, 31 August 2017
Internal
Old Generation Analysis
Old generation occupancy after full collections. This is the primary indicator of memory leaks.
gc event-type:FULL_COLLECTION -o old-after, old-capacity, heap-capacity ./gc.log > gc.csv
Garbage Collection Time Analysis
Full collection frequency, time and CPU usage:
gc event-type:FULL_COLLECTION -o collection-time ./gc.log > gc.csv
New generation collection frequency, time, and CPU usage: