Amazon interview question

How to troubleshoot memory leak in a database