Explore effective memory management in Java in this course, one of two installments in the lively Java Memory Management series.
Overview
Syllabus
Introduction
- Java memory management
- What you need to know
- Explore the code challenge enviornment
- Introduction to the garbage collector
- Eligible for garbage collection
- Garbage collection phase: Marking
- Garbage collection phase: Sweeping
- Different generations on the heap
- Generational garbage collection
- Different garbage collection implementations
- Monitoring garbage collection
- Solution: Eligible for garbage collection
- What is JVM tuning?
- Getting JVM metrics
- Heap size and heap dumps
- MetaSpace size
- Garbage collection tuning
- What are memory leaks?
- Spotting memory leaks
- Avoiding and solving memory leaks
- Solution: Finding and fixing a memory leak
- Conclusion
Taught by
Maaike van Putten