OutOfMemory from SnapIn

PowerShell script exchange

OutOfMemory from SnapIn

Veeam Logoby Talom » Wed Jun 21, 2017 2:36 pm

A few days ago, we created some new repositories and reconfigured a few jobs and since that my powershell script throws an OutOfMemory Exception.

Code: Select all
Get-VBRBackupSession : Exception of type 'System.OutOfMemoryException' was thrown.


I already increased the MaxMemoryPerShellMB from 1024 to 2048 MB but nothing changed.
I monitored the memory with task manager while executing the script and there were no unusual memory consumption.

I never had a problem with this script on all my server and some of them are a lot bigger then the problem server.

Has anyone an advice where to look for more information or a solution for the problem?

Thanks
Talom
Influencer
 
Posts: 13
Liked: 1 time
Joined: Tue Oct 21, 2014 7:56 am

Re: OutOfMemory from SnapIn

Veeam Logoby v.Eremin » Wed Jun 21, 2017 3:03 pm

Hmm, does not look like a PS specific issue. Can you expand backup session list, using GUI, or will you have similar problems?
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: OutOfMemory from SnapIn

Veeam Logoby Talom » Fri Jun 23, 2017 5:55 am

Sorry for the late reply. We tried a reboot and now everything works fine.
Talom
Influencer
 
Posts: 13
Liked: 1 time
Joined: Tue Oct 21, 2014 7:56 am

Re: OutOfMemory from SnapIn

Veeam Logoby v.Eremin » Fri Jun 23, 2017 7:21 am

Seems like a temporary system issue (not necessarily related to PowerShell) that went away with reboot. Thanks for the update; appreciated.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests