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

YouTube

They Do It With Mirrors - Java Process Memory in Microservices Environment

Devoxx via YouTube

Overview

Explore the intricacies of Java process memory management in a microservices environment through this conference talk. Delve into the challenges and solutions for effective memory distribution across distributed systems. Learn about microservices benefits and complexities, memory basics including native, resident, and virtual size memory, and Java 8 memory specifics. Witness demonstrations and real-world scenarios that illustrate memory management issues. Discover key concepts such as Out of Memory Killer, container memory limits, and microservices sizing. Gain insights into Java 7 vs Java 8 differences, metaspace, JVM parameters, and design decisions impacting resource utilization. Master various tools and techniques for monitoring and analyzing memory usage, including JConsole, JVM instrumentation, GC util allocation, JCMD, heap dumps, and native memory tracking. Understand the cost implications and memory footprint considerations in microservices architecture. Walk away with valuable lessons and key takeaways to optimize memory management in your microservices projects.

Syllabus

Introduction
Microservices benefits
Microservices complexity
Memory
Basics
Native Memory
Resident Memory
Virtual Size Memory
Java 8 Memory
Demo
Setting the scene
The second motion
What do we know
Out of Memory Killer
Container Memory Limits
Memory Management
Microservices Size
Lessons Learned
Clarification Jars
Java 7 vs Java 8
Metaspace
Sample Order Service
JVM Parameters
Java 8 Meta Space Size
Design and Implementation Decisions
Resource Utilization
Active Activity Monitor
JConsole
JVM Instrumentation
GCUtil Allocation
JCMD
Heap Dump
Leak Suspect Report
Free Top
Native Memory Tracking
Cost Implications
Memory Footprint
Key takeaways
A couplet
Meta space

Taught by

Devoxx

Reviews

Start your review of They Do It With Mirrors - Java Process Memory in Microservices Environment

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.