Overview
Syllabus
Intro
Java Heap Review
Why Analyze Heaps?
Production Heap Dumps
Heap Dump Panic
Real Memory Leaks
What about OQL?
Heap Analysis Solution
NetBeans Profiler API
Generating Heap Dumps
Heap Dump Warning Dumping the leap
Targeted Heap Dumps
Building Custom Profiler
NetBeans Platform App
Profiler Sources
Which Approach?
Opening a Heap
Heap Object Methods
System Properties
Heap Summary
Exploration Starting points
GC Roots
Garbage Collection Roots
GCRoot Objects
Finding Classes Can perform lookup using
Profiler Data Model
Instances
Example: Member Variables
Example: Static Variables
Example: References
String Implementation
String Extraction
LinkedList Implementation
LinkedList Extract
ArrayList
Thread Extraction
Noise: Ignore Internal Classes
Puzzler
Demo App
String Utilization
Data Model Leak
Best Practices - Be mindful of your heap
Taught by
Devoxx