Overview
Learn effective strategies for troubleshooting memory problems in Java applications in this 43-minute technical talk. Explore various types of OutOfMemoryError messages reported by the Java HotSpot VM and gain insights into the right approach and diagnostic tools for addressing these issues. Discover how to interpret GC logs, analyze heap dumps, use tools like JConsole and Java Mission Control, and configure permanent generation and metaspace. Gain practical knowledge on handling excessive GCs, long GC pauses, unexpected memory growth, and other common memory-related challenges in Java development.
Syllabus
Introduction
Out of Memory Exception
Unexpected Memory Growth
Long GC pauses
Agenda
Memory Issues
GC Log Options
Excessive GCs
Long GCs
Heap Dump
JConsole
Java Mission Control
Heap Histogram
GC Viewer Tool
Explicit GC
Heap Dump Analysis
Permanent Generation Meta Space Issues
Configure Permanent Generation
Compressed Class Space
References
Taught by
Java