Troubleshooting Native Memory Issues in Java Applications



Troubleshooting Native Memory Issues in Java Applications

Troubleshooting Native Memory Issues in Java Applications

Are you having trouble understanding native memory usage growth or leaks in your Java application?

Learn about diagnosing and resolving native memory problems in Java applications. We’ll talk about different memory pools available in a Java Virtual Machine (JVM)-based Java application. You’ll learn how to identify a native OutOfMemoryError and confirm if you’re encountering a native memory leak. Importantly, we’ll take a closer look at the various diagnostic data and troubleshooting tools needed to understand and troubleshoot native memory problems.

An Oracle DevLive Level Up – Java Day session.
Presented by Poonam Parhar – Consulting Member Of Technical Staff (Oracle)

Samples can be found at https://github.com/poonamparhar/native_leaks

⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯
00:00 Intro
01:09 What is a Native OutOfMemoryError ?
03:02 Native memory leaks are hard to diagnose
06:11 Confirm Native Memory Leak
07:43 Heap or Non-Heap areas of the JVM
11:10 Diagnose Native Memory Leaks
11:49 Native Memory Leaks within the JVM – NMT
15:32 Native Memory Leaks from Outside the JVM
16:19 jemalloc
22:10 valgrind
25:14 pmap and core files
28:44 Common scenarios
33:33 Summary

Tags: #Java #OpenJDK #Oracle

Comments are closed.