Error in WuaDataProvider: System.OutOfMemoryException

Last Modified

Tue Aug 04 13:22 GMT 2020

Description

  • Getting the following Patch Status V2 misconfigured message - 201 Errors from PME Connector: [PME900] Error in WuaDataProvider: System.OutOfMemoryException: Insufficient memory to continue the execution of the program. at WUApiLib.IUpdate.get_BundledUpdates() at SolarWinds.MSP.PME.QueryManager.DataProviders.WuaDataProvider.WuaMetadataRow.GetIndexedFileFileInfoForSoftware(IUpdate update) at SolarWinds.MSP.PME.QueryManager.DataProviders.WuaDataProvider.WuaMetadataRow.GetFileInfos(IUpdate update) at SolarWinds.MSP.PME.QueryManager.DataProviders.WuaDataProvider.WuaDataProvider.ProcessResultFromExtProcessRegularScan(IEnumerable`1 updates, Dictionary`2 history)

Environment

  • N-able N-central

Solution

OutOfMemoryException in Agent/PME usually isn't about available memory but it is more memory fragmentation problem, The process is asking for continuous block of memory, but available memory is fragmented to small chunks. It happens usually on Server systems with slightly different .NET memory engagement than Workstations.

This is a system level issue

Recommendation to resolve

1) Run MS Troubleshooter https://support.microsoft.com/en-us/help/4027322/windows-update-troubleshooter
2) Run commands:
DISM /Online /Cleanup-Image /RestoreHealth support.microsoft.com/en-us/kb/947821
SFC /scannow support.microsoft.com/en-us/kb/929833
3) Manually run Windows Update and try to install all available updates if something is missing.