Out of memory error/exception


  • in Debug
  • add a package from Package Manager
  • open a project in Studio(.xaml)
  • read large Excel files: >300.000 rows
  • in Orchestrator, error: Schedule for process could not be started. Undefined robot.


By default, maxReceivedMessageSize of the named pipes binding is 65,536.

Increase this parameter in %localappdata%\UiPath\app-17.1.6522\UiRobot.exe.config

Details in this post: UiPath Out of Memory

1 Like

Hi !

I had the same problem :

The solution for me was to write the range with the activity of Excel Application Scope, the error was with the activity of Worbook range. I currently write more than 500K of records without any problem.

UiPath Version
Studio 2019.10.3 - 1/20/2020
Enterprise License
Windows Installer

Microsoft Windows Server 2012 R2 Standard 64-bit
.NET Framework Version 4.7.1

im curious, how much longer does it take to write now changing to excel scope activity?

Before: 23 Minutes and generated an exception (WorkBook)
Now 2 minutes 59 seconds without problem (Excel Application Scope)

Regards !

thats is an impressive change :slight_smile: