Pergunta de entrevista da empresa GTS

Explain JVM memory management and how that should affect design choices.