Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

 

 

 

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,453 Votes: 2 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
21:06, 22 Jun 2016

Tags

Classifications

Public