Analyze memory leak