Infosys Interview Question

What will you do if you need to avoid memory leaks in DB2