This article analyzes and looks into how to solve the problem of memory leaks causes by co and recursive calls.