DX NetOps

 View Only
  • 1.  NCM - Config lines

    Posted May 14, 2015 06:50 AM

    We recently upgraded to 9.4 and still can not capture a large config (around 2K lines). In previous releases I understood a change was made to capture this but still unable to collect the config as it says need to change the XMX memory limit which is currently 512M.


    Anyone can share their experience on this ?

  • 2.  Re: NCM - Config lines
    Best Answer

    Posted May 14, 2015 12:09 PM

    Try these two things:



    • Increase Max Heap memory size for NCM process


    Modify file $SPECROOT/lib/SDPM/partslist/NCMSERV.idb


    Locate this line:


    ARGV;$SPECROOT/bin/JavaApps/bin/ncmservice<CSEXE> -Xms128M -Xmx512M -XX:+HeapDumpOnOutOfMemoryError -Dvbroker.agent.enableLocator=false -Dvbroker.orb.admDir=$SPECROOT/bin/VBNS -Dborland.enterprise.licenseDir=%BES_LIC_DIR% -Dborland.ente

    rprise.licenseDefaultDir=%BES_LIC_DIR% -Djava.endorsed.dirs=$SPECROOT/lib/endorsed -DSPECROOT=%SPECROOT% com.aprisma.spectrum.scmd.ScmService;


    Change '-Xmx512M' to something higher, such as '-Xmx3G'


    • Follow TEC616447 to enable fixes in 9.4 to handle large configuration files





    This functionality can be enabled by adding the following entry in $SPECROOT/NCM/config.xml file:

    <diff-largefile type = "java.lang.String" >on</diff-largefile>

  • 3.  Re: NCM - Config lines

    Posted May 15, 2015 08:04 AM

    Thanks Justin, I will try those.