Nice program to detect memory leak. But i want to know how to recover the memory after memory leak and how to prevent it.