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

I am getting this error but I am not clear on the steps to take, lot of information to process in here.

I have some arguments that are passing data dictionaries and Jobjects. Is this what could be causing the error and how would I fix it?

I tried adding the system.IO reference but doesn’t seem to be the difference

With the write line is this the total size of the output that occurs. Or one individual write line that is too large?