Objects — where they live, what they eat and how to spy on them?
summary
Talk explains how to diagnose memory problems and Garbage Collector behavior in JVM-based applications by walking through a real memory issue from Allegro. It presents concrete debugging tools and techniques for finding where objects live, what references keep them alive, and how to inspect memory to resolve startup failures caused by memory issues.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:29Allegro params memory impact
- 3:39Memory issue loading params
- 8:21Java G1 GC memory
- 12:31Shallow vs retain size
- 14:00Heap dump tools
- 15:46Simulating memory issue
- 21:47VisualVM heap dump
- 25:21Finding high memory usage
- 29:40Optimizing deduplication
- 33:15Flyweight pattern
- 36:12Verifying optimizations
- 39:44Optimization results
- 41:07Further reading
- 42:33Q&A
related talks
51mTrash Talk - Exploring the JVM memory management
49mTrash Talk - Exploring the memory management in the JVM
46mA Guide to Memory Analysis for JVM Applications
46mTrash Talk - Exploring the Memory Management in the JVM
43mTroubleshooting Memory Problems in Java Applications
01h 08mJava Objects Inside Out
32mMastering JVM Memory Troubleshooting - From OutOfMemoryErrors to Leaks
50mTrash Talk - Exploring the JVM memory management
