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 | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
Observed on RDBMS
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 |
Step by Step Scenario
- Configure the New Dynamic Link Manager in the Dynamic Link Rules
- Run the Analysis
Action Plan
The Solution is to
- Split the Dynamic Link Manager per analysis units
- 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