Thank you Hafeez for your confimation.
But the problem will come once after you increase the row count in the CSV file.
Could you please increase the row count to 1000 and check.
The issue is coming when the csv file having more rows count.
Probelm is, it is killing the CPU.
I am sure, the below only killing the CPU:-
newDocument1.Save(Path.Combine(templatePath, Path.GetFileNameWithoutExtension(templateFilePath) + “.pdf”), SaveFormat.Pdf);// This line is talking more CPU
Could you please help us.