Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

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 MindTouch on Jun 23, 2016

Views: 8 Votes: 0 Revisions: 4

Overview

This article describes the issue when Windows Powershell Monitors intermittenly return with 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
03:00, 23 Jun 2016

Tags

Classifications

Public