CMS Snapshot Analysis - Run Dynamic Link Manager - Fatal Error - Timeout and Out Of Memory

Problem

During the Dynamic Link Manager execution, an out of memory or a Timeout error can occur if the number of links to review is too large.

Observed in CAST AIP

ReleaseYes/No
8.3.x
8.2.x
8.1.x
8.0.x
7.3.x

Observed on RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS3
CSS2

Step by Step Scenario

  1. Configure the New Dynamic Link Manager in the Dynamic Link Rules
  2. Run the Analysis

Action Plan

The Solution is to

  1. Split the Dynamic Link Manager per analysis units
  2. Run the Dynamic Link manager using a batch file.

Shown below is a sample of configuration file and batch file to execute :

<?xml version="1.0" encoding="utf-8" ?>
<dynamicLinksRules xmlns="http://www.castsoftware.com/DlmRulesModel.xsd">
  <rule name="Rule3" action="ignore" >
    <scope>
      <application name="<THE APPLICATION NAME>">
        <analysisUnit name="<THE ANALYSIS UNIT NAME>"/>
      </application>
    </scope>
    <callerType names="JV_METHOD"/>
    <leftStringFromCode regexp="\.info\("/>
    <calleeType names="CAST_Oracle_RelationalTable"/>
  </rule>
</dynamicLinksRules>
<YOUR_CAST_INSTALLATION_FOLDER>\DLM\DynamicLinks.CLI.exe "executeRules" "--ruleFile=<RULE_FILE_NAME1>.xml" "--profile=<YOUR CONNECTION PROFILE>" "--log=DynamicLinkManager.log"
<YOUR_CAST_INSTALLATION_FOLDER>\DLM\DynamicLinks.CLI.exe "executeRules" "--ruleFile=<RULE_FILE_NAME2>.xml" "--profile=<YOUR CONNECTION PROFILE>" "--log=DynamicLinkManager.log"
<YOUR_CAST_INSTALLATION_FOLDER>\DLM\DynamicLinks.CLI.exe "executeRules" "--ruleFile=<RULE_FILE_NAME3>.xml" "--profile=<YOUR CONNECTION PROFILE>" "--log=DynamicLinkManager.log"

Notes/Comments

Related Pages