Description

This page will help you to solve problems related to performance issues that may occur during the Run Copy Paste metric calculation step while performing analysis.

Applicable in CAST Version
Release
Yes/No
8.3.x(tick)
8.2.x(tick)
Applicable RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS3(tick)
CSS2(tick)
Action Plan

Perform the following action:

  1. Check the CAST-MS log for more information on the analysis steps, you can follow this page to find out the CAST-MS log location CAST Management Studio - Information - How to find logs
  2. Check in the CAST-MS log the time taken and the reason for taking too much time.

    INF: 2020-04-14 23:56:15:  Loading (4/6): I:\Implementation\LargeStorageArea\LISA\25640835e36a4f56b59c81e61fdc29a5\Scr2265c865b4f1423485825711aadc6ab1\dataset.castvector 2080496vectors
    INF: 2020-04-14 23:56:18:  Loading (5/6): I:\Implementation\LargeStorageArea\LISA\25640835e36a4f56b59c81e61fdc29a5\Scr17e77b39ba9745aa8dfe99cc5d674208\dataset.castvector 193000vectors
    INF: 2020-04-14 23:56:47:  Loaded 2345724 vectors
    INF: 2020-04-14 23:56:47:  Detecting copy/paste
    INF: 2020-04-15 08:35:23:  Initializing logging context in a new thread for parent thread 1. Logging.runInNewThreadContext should be used instead

     

  3. From the above CAST-MS log extract, we can see that Loaded 2345724 vectors which are huge happen due to the below reason. 
  4. If it is C/C++ analysis, the existence of a large number of header files is partly responsible for this huge number of vectors.
  5. If it is .NET analysis, these vectors increase due to dependencies set between the projects, so you need to wait for the analysis to finish.
  6. If it is not finishing then take a backup of LISA folder because CAST Technical Support may need it and contact  CAST Technical Support  with the following Relevant Input 




Relevant Input

  • CAST Support Tool (CST) - alias Sherlock with options Export Log, Export Configuration Files, Export Bases (MNGT+ KB). Make sure that Sherlock is taken with the same Windows user that ran the analysis, in order to fetch file CAST-MS.log.txt properly.
  • LISA folder from customer


Reference


Notes / Comments