Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Java Memory Management: Garbage Collection, JVM Tuning, and Spotting Memory Leaks

via LinkedIn Learning

Overview

Explore effective memory management in Java in this course, one of two installments in the lively Java Memory Management series.

Syllabus

Introduction
  • Java memory management
  • What you need to know
  • Explore the code challenge enviornment
1. Garbage Collection
  • 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
2. JVM Tuning
  • What is JVM tuning?
  • Getting JVM metrics
  • Heap size and heap dumps
  • MetaSpace size
  • Garbage collection tuning
3. Memory Leaks
  • What are memory leaks?
  • Spotting memory leaks
  • Avoiding and solving memory leaks
  • Solution: Finding and fixing a memory leak
Conclusion
  • Conclusion

Taught by

Maaike van Putten

Reviews

4.6 rating at LinkedIn Learning based on 429 ratings

Start your review of Java Memory Management: Garbage Collection, JVM Tuning, and Spotting Memory Leaks

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.