How to read a large file txt or excel?

hernan

New Member
I'm trying to use the file management to get a txt but it has about 400k lines.

Is it possible to get it?
 
Hi @hernan

As you stated, I used the Utility File management object "Read text from file" and was able to get 420674 lines into the data item. It also worked with "Get clipboard" object of the Utility Environment.
notepad above 400k lines.PNG

Let me know if this helps.
 

hernan

New Member
Thanks for your reply @amanbareilly !

The message I got is "Exception of type 'System.OutOfMemoryException' was thrown."

Could you copy the print of your action and of "Get Clipboard" object?
 
Thanks for your reply @amanbareilly !

The message I got is "Exception of type 'System.OutOfMemoryException' was thrown."

Could you copy the print of your action and of "Get Clipboard" object?

Hi @hernan
I am attaching the screenshot of the action stage here. In case if it still doesn't works would mean that your text file has more characters as compared to my text file. Let me know if it helps.
 

Attachments

  • action1.PNG
    action1.PNG
    19.5 KB · Views: 67
  • output.PNG
    output.PNG
    20.9 KB · Views: 64
Top