Skip to content
Sharp

Performance Tuning · interview question

Why might an application experience increased latency when using the Generational Garbage Collection model?

Multiple choiceMediumchapter-14-curatedpremiumperformance-tuningoutofmemoryerrors
Choose one answer
Answer and explanation

Correct answer

A. Frequent minor garbage collections in the Young Generation.

Why

In the Generational Garbage Collection model, frequent minor collections in the Young Generation can increase latency, as these collections can pause application threads temporarily.

Test yourself on Performance Tuning

A free test with instant, explained results. No account needed.

Start free test
All Performance Tuning questions →