Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

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: 75 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

Tags

Classifications

Public