I get this Job stopped with an unexpected exit code 0xE0434352 error when read a huge text file, something like 2m rows. Its not happening on small text files. Then I realized it’s because windows suspend the application, a green leaf appears near to Robot Application after some point where Robot occupy around 2.8gb on ram (My computer 8gb). I tried on different computers but still get the same error. I could not find any solution somewhere and this is crucial about my project so I really need your help. I attach exapmle photos for better understanding.
Hi
welcome to UiPath community
i hope this error must be coming when using excel file
–kindly use EXCEL APPLICATION SCOPE activity when processing 2 m rows
and if we are using already then fine
–but followed by this scope activity use KILL PROCESS activity with processname property as “EXCEL”
I cannot share the data cause its confidential but the workflow is just like the picture I shared with you on my last post, nothing else. Also I tried in csv format and it gives same error. I tried it on many different computers include server, all same.
I am also facing the same issue with a text file size of 522 MB. I don’t know whether is there any restriction in size of the text file when we read it via “Read Text File” activity.
I had similar problem. This is a system issue and probably there exist no UiPath configurations to make this sort out. But I sorted this using following approach.
I had a csv file with containing rows more than 40000 and 15 columns. I broke my file into many sub files (getting first 1000 lines and storing it to a data table). Then the problem get solved.
The best way to overcome this issue is to take a look at our process and think about minimizing the overhead involved from the system perspective.
Hi you can try and read the file using streamreader and read the file line by line.
Basically you’ll need to have code like below and read the file line by line to process:
String fileName = @“C:\temp\largeFile.txt”;
using (System.IO.StreamReader sr = new System.IO.StreamReader(fileName))
{
while (!sr.EndOfStream)
{
String line = sr.ReadLine();
//you can then write the line to your csv file
}
}