DoorDash interview question

How would you debug a memory leak