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
Release
Yes/No
8.3.x(tick)
8.2.x(tick)
8.1.x(tick)
8.0.x (tick)
7.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS3(tick)
CSS2(tick)
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 :

RULES_X.xml
<?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>
Batch File to execute
<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