DoorDash Interview Question

How would you debug a memory leak