Overview
Explore the intricacies of memory management in the Java Virtual Machine (JVM) through this comprehensive conference talk. Delve into common scenarios causing OutOfMemoryErrors and learn effective diagnostic tools and methods. Gain insights into the Java heap, allocation processes, and garbage collection basics. Discover the anatomy of memory leaks and how to detect them. Benefit from the expertise of Java Champion Kirk Pepperdine as he covers topics such as unmanaged memory, native memory leaks, and diagnostic mechanisms. Engage with practical examples and testing scenarios to solidify your understanding of solving memory leaks in the JVM.
Syllabus
Introduction
Inspiration
Technology
Memory Leak
Unmanaged Memory
Native Memory Leak
Java Heap
On Demand Allocation
Heap Allocation
String Class
Object Header
Scan for Routes
Memory Leaks
Testing
Manage Memory Revisited
Hines Memory Leaks
JMap with Histogram
JMap with Leaks
J Command Help
Character Array
Memory Leak Class
Diagnostic Mechanism
Test
Questions
Anatomy of a leak
Taught by
Devoxx