Endava interview question

How I controll Memory Management