*Purpose

This page will help you to solve problems related to Performance issues that may occur during the Inference Engine step.

For more information, refer to the CAST Management Studio documentation :

CAST Management Studio - Help > Infrastructure > Editors > Technology editors > J2EE Technology options - Process Settings - Inference Engine options
CAST Management Studio - Help > Infrastructure > Editors > Technology editors > .NET Technology options - Process Settings - Inference Engine options 

*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. Package and deliver the source code.
  2. Set as current version the application.
  3. Run the analysis.
  4. Analysis goes on for a long time.
Action Plan

The Inference Engine will identify additional links that would not be "discovered" using standard analysis techniques. This technology detects a reference to an object wherever its name is mentioned, regardless of the context in which this reference occurs.
During the Inference Engine "Computation" objects names are being identified thanks to the string concatenation option.
The Procedure Call Depth option resolve intermediate values in order to obtain the value of the object that is being searched for.
Local Procedure Complexity option allow the Inference Engine to search large methods that have a high Cyclomatic Complexity level.

All these Inference Engine steps takes time to perform and is dependent on the complexity of the Source Code.

  1. Check if the issue is due to the Inference Engine.

    1. Check whether the inference engine is enabled.

      1. In the log file, check for "Use Inference Engine : 1". If the the option is set to 1, then the Inference Engine (I.E.) is used.

    2. Check if the issue is linked to inference Engine.

      1. Disable the Inference Engine by un-checking in CAST Management Studio the Inference Engine Option in the production tab as shown below. To deactivate the Inference Engine (IE) in 7.2 / 7.3 refer CMS Technologies - Information - Modify Inference Engine parameter 

      2. Run the analysis again. If it runs completely without any performance issues, then the problem came from the Inference Engine settings.

      3. If the problem is from the Inference Engine settings then Modify Inference Engine Settings by decreasing the parameter.
        To modify the parameters refer CMS Technologies - Information - Modify Inference Engine parameter 

        NOTE

        Note that this step is a check to perform in order to know if the performance issue is linked to Inference Engine.

  2. If the above steps do not solve your issue contact CAST Technical Support. with the following Relevant input

Relevant input

  1. Sherlock, screenshots showing the crash and source code to reproduce if needed.
  2. In Sherlock, check the analysis log file and CAST-MS log file.
Notes

 

  

Related Pages