Explain Java memory model and garbage collection in production
Young/old gen, G1/ZGC trade-offs, metaspace, and one incident you debugged.
Why this matters
Asked by 59% of candidates. Common screening signal before deeper system design and production follow-up rounds.
Frequently followed by
Interview focus
Why
Asked by 59% of candidates. Common screening signal before deeper system design and production follow-up rounds.
Follow-ups
diagnose a memory leak in a microservice, Depth on heap, GC algorithms, and production tuning under load, Reciting definitions without linking to latency or OOM incidents
Evaluates
Technical depth, Trade-off thinking, Communication, Production awareness