Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

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