Hi John,
I have a requirement of comparing the data between two excel files which I used to do using collection with loops but ""system out of memory"" was thrown for more than 500 records,
so used OLEDB and sql statements to query to the Excel2 and running a loop for collection (data from Excel 1), it works fine for 3000 records if the data increases say 4000 , I am again facing System out of memory, is there and way where I can free memory in the process ? will GC.collect in code block work
please help .
Thanks