Applications Systems

Error: The I/O operation has been aborted because of either a thread exit or an application request

This article provides brief information and steps to resolve the following error: The I/O operation has been aborted because of either a thread exit or an application request.

First published date

10/10/2018 8:44 PM

Last published date

10/10/2018 8:44 PM

Overview

This article provides brief information and steps to resolve the following error:

The I/O operation has been aborted because of either a thread exit or an application request.

Product section

Server Application Monitor

Cause

The issue is caused by WinRM session running out of memory.

By default, each session is limited to 150MB. For large organizations, this may not be sufficient to run some of the queries utilized by AppInsight for Exchange.

Resolution

Modify the WinRM settings on both the Orion and remote servers by running the following command from an elevated Command Prompt (administrator):
 
winrm set winrm/config/winrs @{MaxMemoryPerShellMB="<size>"}</size>

Verify the setting by running the following:
 
winrm get winrm/config/winrs