Amazon Interview Question

How to troubleshoot memory leak in a database