Submit a ticketCall us

Training Class Getting Started with SolarWinds Backup - February 28

This course offers customers an introduction to SolarWinds Backup, focusing on configuring the backup technology, taking backups, data restoration and data security. It is a great primer and will get you up to speed quickly on SolarWinds Backup.
Register for class.

Home > Success Center > Network Configuration Manager (NCM) > ERROR - Exception caught in method Invoke System.OutOfMemoryException

ERROR - Exception caught in method Invoke System.OutOfMemoryException

Created by Marjune Obana, last modified by MindTouch on Jun 23, 2016

Views: 1,937 Votes: 3 Revisions: 20

Overview

The following error appears when you save the Nightly Config Backup History in the Jobs list.

 

ERROR SolarWinds.InformationService.Core.InformationService - Exception caught in method Invoke
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

 

Also you might see:

 

BusinessLayerHost log

ERROR SolarWinds.BusinessLayerHost.BusinessLayerHostService - Unhandled exception caught by business layer host. System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Sender: Name:domain-SolarWinds.NCM.BusinessLayerPlugin.dll

 

In NcmBusinessLayerPlugin log

ERROR SolarWinds.NCM.BusinessLayerPlugin.NcmBusinessLayerPlugin - Unhandled exception.System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

ERROR SolarWinds.Orion.Common.SWEventLogging - Unhandled exception: Exception of type 'System.OutOfMemoryException' was thrown.

Environment

NCM 7.4.1 and later

Cause

The file has not been cleared and has grown to big

Resolution

  1. In the Jobs List, select the Job Name. For example, Nightly Config Backup.
  2. Click the History button.
  3. Click the Clear Log button.

hstry.JPG

 

Note: It usually takes more than 30 seconds for this action to complete without any progress seen on the screen. 

 

If you will not be able to clear this through the Web Console please follow steps below:

 

1. Database Manager

2. Click Add default server

3. Double-click NCM_NCMJobs

4. Delete the original query (SELECT TOP 1000 * FROM [dbo].[NCM_NCMJobs])

5. Paste the new query:

 

UPDATE [dbo].[NCM_NCMJobs]

SET JobLog = NULL

 

6. Click execute query, it should say something like: (10 row(s) affected). 

The amount of rows depends on how many jobs you have so yours could be different.

 

7. Double-click NCM_NCMJobs again

8. Execute the original query (SELECT TOP 1000 * FROM [dbo].[NCM_NCMJobs])

9. Scroll to the right until you see JobLog column

10. Make sure that all the values there are NULL

 

This will not cause any downtime or issue with functioning. This will clear all old logs that cause the process to run out of memory.

 

 

If the error persists,

  1. Select the job.
  2. Click Disable.
  3. Click Duplicate Job.
  4. Click Start Job.
Last modified

Tags

Classifications

Public