Where's My Memory, Man?!
summary
Covers Java memory usage problems such as memory leaks and other out-of-memory situations, and how to observe and distinguish normal vs. critical memory behavior in Java applications. Describes what memory dumps are, what information to collect and when to collect it for troubleshooting, and briefly touches on classloader leaks and their specifics.
AI-written summary · about
chapters (34)
- 0:00Introduction
- 1:18Memory leaks overview
- 3:26JVM memory regions
- 5:12Clean JVM flags
- 7:01Garbage collector basics
- 9:11GC algorithms in HotSpot
- 10:17Roots of garbage collection
- 12:47Object reference types
- 14:55GC unreachable objects
- 15:16Memory leaks as business
- 17:25Common memory leak examples
- 18:48Out of memory errors
- 21:02Slow performance from GC
- 22:50Java HashMap overhead
- 23:13Monitoring memory usage
- 23:34GC logs importance
- 24:37Analyzing GC logs
- 26:47Reducing memory consumption
- 27:32Memory dumps debugging
- 30:04Heap dump on OOM
- 31:10When to take memory dumps
- 32:15Analyzing memory dumps
- 33:19Eclipse MAT overview
- 33:59Finding memory fillers
- 35:03JVM object size types
- 36:51Dominator trees impact
- 38:43OOM resolution steps
- 39:04Practical dump analysis
- 41:14Trivial leak detection
- 43:03Finalizer leaks
- 44:55Simple leak code
- 45:37Classloader leaks
- 47:49Detecting classloader leaks
- 50:22Summary
