Overview
Dive into a comprehensive 34-minute video tutorial on diagnosing and resolving native memory issues in Java applications. Explore different memory pools in JVM-based Java applications, learn to identify native OutOfMemoryErrors, and confirm native memory leaks. Gain insights into essential diagnostic data and troubleshooting tools for understanding and addressing native memory problems. Discover various techniques including Native Memory Tracking (NMT), jemalloc, valgrind, pmap, and core file analysis. Examine common scenarios and learn how to effectively troubleshoot native memory leaks both within and outside the JVM. Enhance your Java development skills with this Oracle DevLive Level Up session, complete with practical examples and a GitHub repository for hands-on practice.
Syllabus
Intro
What is a Native OutOfMemoryError ?
Native memory leaks are hard to diagnose
Confirm Native Memory Leak
Heap or Non-Heap areas of the JVM
Diagnose Native Memory Leaks
Native Memory Leaks within the JVM - NMT
Native Memory Leaks from Outside the JVM
jemalloc
valgrind
pmap and core files
Common scenarios
Summary
Taught by
Java