Investigate memory leak