Memory analyzing using Eclipse Memory Analyzer

Topics 

  • Basic concepts 
    • Heap dump 
    • Shallow vs. Retained heap 
    • Dominator tree
    • GC (Garbage Collection) Roots 
    • Incoming & outgoing references 
    • Accumulation point 
  • How to detect memory leak 
  • Class loader memory leak example

Heapdump

What is a Heap Dump? 

  • A heap dump is a snapshot of the memory of a Java process at a certain moment of time 
  • Heap dump format 
    • HPROF binary format (most common) 
    • IBM system dumps (after pre-processing them) 
    • IBM portable heap dumps (PHD) 
  • Usually a full GC is triggered before the heap dump is written so it contains information about the remaining objects

 

Download course content