Reading large file size text file

Guys, Good day! Hope anyone can help me with this error. Im trying to read a text file which is very large file size (1,050,383 KB). The automation will provide me with this error:

image

Hi @Henson_Ibon

Kindly check this solution

Regards!

HI,

If your project is Windows-Legacy, can you try Windows project? Because it runs as 64bit process and can handle large memory if the machine has enough.

Or try to read it not whole at once but line by line using StreamReader and ReadLine method etc.

Regards,