Submit a ticketCall us

Announcing NCM 7.7
With NCM 7.7, you can examine the rules that make up an access control list for a Cisco ASA device. Then you can apply filters to display only rules that meet the specified criteria, order the rules by line number or by the hit count, and much more.
See new features and improvements.

Home > Success Center > Server & Application Monitor (SAM) > Powershell Monitors intermittently return Out Of Memory Exceptions

Powershell Monitors intermittently return Out Of Memory Exceptions

Created by Chris Foley, last modified by carolyn.mazenko on Aug 23, 2017

Views: 43 Votes: 0 Revisions: 5

Overview

This article describes the issue when Windows Powershell Monitors intermittently return Out of Memory exceptions.

 

Environment

  • All versions of Windows
  • All versions of SAM

Cause 

Powershell is running out of Memory for certain Powershell scripts.

Resolution

Increase the amount of memory Powershell has by running the following command from a Powershell prompt:

set-item wsman:localhost\Shell\MaxMemoryPerShellMB {amount in MB}

 

To verify the current amount, run the following command:.

get-item wsman:localhost\Shell\MaxMemoryPerShellMB

 

 

 

Last modified
10:00, 23 Aug 2017

Tags

Classifications

Public