Fortinet Interview Question

How to debug memory leak?