Tavant interview question

how to identify memory leaks