J.P. Morgan interview question

Explain how memory management works