Infosys Interview Question

Memory leak happens when and what is that