Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Powershell Plugin system.outofMemoryException

$
0
0

Hello

 

I installed today the Powershell Plugin 1.0.1 and I had for all PowerCLI Scripts system.outofMemoryExceptions.

In the release notes I've read the following: If you run a PowerShell script in a large-scale environment, you might receive a generic system out-of-memory error.

 

For me it's for all scripts, already a connect-viserver generates MemoryException.

With google :-) I've found that with the following command:

winrm set winrm/config/winrs @{MaxMemoryPerShellMB="<MemoryinMB"}

I can change the assigned memory.

 

I like to know if other users have the same issue, that already very small PowerCLI-scripts generating outofMemoryExceptions and what is the value you configured now?

 

Thanks for you help.


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>