Agent crashes when large Powershell script is executed

Document ID : KB000084758
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
U01002404 Element type 'Binary Sized' on position '260' will exceed message size, '10598' > '3836', module 'EXAKTJQU.restartinfo'.

A Windows agent can crash while running a large Powershell script.

The above error message can be seen in the agent log file when this happens.

 

Environment:
OS: Windows
OS Version: N/A
Cause:
Cause type:
Defect
Root Cause: The Windows Agent crashes due to overwriting memory if an external interpreter is called too many times in a loop.
Resolution:

Update the agent to a fix version listed below or a newer version if available.



Fix Status: Released

Fix Version(s):
Automation Engine 12.1.1 - Available
Automation Engine 12.0.4 - Available
Automation Engine 11.2.7 - Available
Additional Information:
Workaround :
Split the Powershell script into multiple job objects rather than running from a single job.

This will allow the job to complete without crashing the agent.