Subscribe to the SHORTKAT bot and get a link to the repository: https://t.me/shortcut_sh_bot?start=yo...
Sign up for mentorship with Ilya or another mentor: https://shortcut.education/
Service for working from the video: https://visualvm.github.io/
Timecodes:
00:00 — Introduction: What will we cover in this video?
00:28 — Launching the application and preparing for memory analysis
00:54 — Using Visual VM for monitoring
01:20 — Configuring JVM and heap parameters
01:57 — How the heap is filled with data
02:19 — How memory is organized in Java: heap vs. metaspace
02:39 — Heap division: Eden, Survivor Space, Old Generation
03:10 — How objects are moved between memory zones
03:40 — How garbage collection works in the JVM
04:07 — JVM performance metrics: JIT compilation, class loading
04:25 — How to track Garbage Collector in Visual VM
04:58 — How large objects immediately go to the Old Generation
05:21 — Complicating the application: increasing memory load
05:51 — Optimizing object management in the older generation
06:26 — Changing the heap size and its impact Performance
06:46 — How GC Works with Different Heap Settings
07:17 — Out of Memory Error and Its Diagnosis
07:51 — Analyzing a Heap Dump in Visual VM
08:20 — How to Determine What Takes Up the Most Memory
08:50 — How the Heap Changes in Real Time
09:07 — Where to Get Sample Code and Additional Materials