Java Memory Management Performance Analysis: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Old Generation Analysis=
=Old Generation Analysis=


Old generation occupancy after full collections:
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
  gc event-type:FULL_COLLECTION -o old-after, old-capacity, heap-capacity ./gc.log  > gc.csv

Revision as of 15:07, 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

Full collection frequency, time, and CPU usage:

New generation collection frequency, time, and CPU usage:

Garbage Collection Time Analysis

Leak Analysis

YourKit Memory Snapshot Comparison