.xaml is getting very slow to load when .xaml size increase more than 5 mb

Scenario: **Create an xaml file size more than 5 bm. Better increase 8 to 10 mb size **

Steps to reproduce: Just copy repeated activities and increase the size and save it.

Current Behavior: UiPath is getting slow. Not allowing the user to make any modifications. always showing process circle at the cursor while updates.

Expected Behavior: UiPath should not show any delay while making modifications.

Studio/Robot/Orchestrator Version:

Last stable behavior: 2017.1.6309
Last stable version:
OS Version: Windows 7 Professional
Others if Relevant: (workflow, logs, .net version, service pack, etc):

not the size of the workflow matters, as whats inside it. if you have a lot of flowcharts for example, nested in another one and so on, you will see a performance decrease.
i would suggest using invoke workflow as many times as possible


And rethinking project architecture design as a whole.
Even if a xaml is approaching 1MB something went wrong in the design.
5MB for what is essentially a single action list is completely unmaintainable and one of those “turn around and run”/“nuke it from orbit before it becomes sentient” moments.

1 Like