Veeva Systems interview question

How would you debug memory leak?