Error seen when running a backup of a device configuration in Spectrum NCM
search cancel

Error seen when running a backup of a device configuration in Spectrum NCM

book

Article ID: 31658

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The following error is seen running a backup of a device configuration in Spectrum:

Error "NCM configuration difference failed to complete because required resources could not be allocated.  Please see $SPECROOT/NCM/NCMSERV.OUT for detailed information"


Additionally when looking in the NCMSERV.OUT you may see error: 
  

Failed to allocate array: 21505 x 22365 process memory currently set to: 455M.  To increase memory adjust value of -Xmx parameter in: $SPECROOT/lib/SDPM/partslist/NCMSERV.idb 

Resolution


In order to prevent this error from being seen you should do the following: 
  
1. Modify the -Xmx parameter in: $SPECROOT/lib/SDPM/partslist/NCMSERV.idb to 2048M.

2  Enable this setting in the $SPECROOT/NCM/config.xml file: <diff-largefile type="java.lang.String">on</diff-largefile>

3. Restart processd after this.

4. Retry and you should no longer get this error. 

Additional Information

There is technically no limit to the memory setting for ncmservice.

4GB has been successful for many implementations of Netops Spectrum.