Message: Could not retrieve the result of the job execution. This might be because a message was too large to process

I encountered a problem in development, and I don’t quite understand why this problem arises and how to modify it.
【18.4.0+Branch.master.Sha.b805b316b1c47ae06c0fe7e619b9c9f96e9e774c

Message: Could not retrieve the result of the job execution. This might be because a message was too large to process.

Exception Type: System.Exception

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Exception: Could not retrieve the result of the job execution. This might be because a message was too large to process.】

1 Like

Hi @caydel

Could you give more context? What are you trying to achieve and when exactly does the error appears?
Also, are you using the Orchestrator Community Edition?

Please also rename your topic title to properly describe your issue.

2 Likes

Hi @loginerror,

I am also getting the same error, after end of the execution. Did you find any solution for this? If you find please share with us.

Thanks

3 Likes

Hi @Srini84

Please provide some more information about the version of your Studio/Orchestrator as well as your workflow that causes the error :slight_smile:

Hi @loginerror

Version of UiPath Studio is 2018.4.0, the workflow not connected to Orchestrator.

error

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Exception: Could not retrieve the result of the job execution. This might be because a message was too large to process.

Please check and let me know if any info required.

Thanks

It is really difficult to answer without more information about what is happening inside your workflow. What activities are you using and what are you trying to achieve?
At which point in your workflow does the error message pop up?

When in your process does it happen when you Debug the process step by step?

Hi @loginerror,

Even in Debug also the error appears, The error box appears after the completion of the workflow. The workflow contains Outlook activities, save attachments, do google ocr, do basic operations to split the string, and writing to excel file. I am using arguments instead of variables. The outlook mail output is defined as variable not as argument. This is the complete workflow.

Thanks

Hi,

I encountered similar error when attempt to do the certification practical question.

Any solution for the stated error?

Thanks.

First of all, I’m sorry for the slow response.
I’ve sorted out the reasons for this problem.
Because one of my output Argument types is DataTable and I didn’t receive it.
Thx.

18 Likes

hi,Do you have a Argument that takes up a lot of memory that is not accepted? Please check your code.

Do you have a Argument that takes up a lot of memory that is not received at the upper level? Please check your code.

4 Likes

Thanks @caydel, your inputs helped!
I faced the same issue. My scenario where it failed was, a huge file was being read using Read PDF and was written into console using writeline activity. The issue got resolved once i removed the write to console.

3 Likes

Thanks @caydel ! Worked perfect for me. It was due to returning a large datatype as an argument.

1 Like

Is there a limit on the PDF size? Cause i am getting this issue when I am reading a pdf to txt. The size of the pdf is 1.5 MB. It is a system generated PDF and has about 250 pages.

Reading the pdf shouldn’t be causing the issue… Are you printing the read data into the console?

I am writing it to a .csv file with write text file and append activity. is there a work around for this?

@loginerror

Hi @RiteshJain1411

Are you receiving the same error as in the topic title? Could you maybe paste in the entire error message?

Hello, can the following comments help you?

  1. Whether to print this variable using [Writre Line] activity.
  2. Are there Arguments that occupy a lot of memory that are not received?
    I hope I can help you.

my loop was wrong, it was causing the data to be read many times which was causing the memory error. Its all resolved now. Thanks guys

I am getting the same Error and I am having a hard time figuring out which of my arguments is causing the memory issue. How did you resolve your issue? I do have a few datatables that I am passing in and out, do I clear all my tables prior to ending?