CMS Snapshot Analysis - Run Analyzer - Information - How to enable memory traces

Purpose

This page explains how to enable memory traces

Applicable in CAST Version

ReleaseYes/No
8.3.x

Applicable RDBMS

RDBMSYes/No
CSS

Details

There are two ways, depending on the technologies, to log the memory consumption when running an analysis : AMT traces or Perfmon Manager Traces.

  1. Select the technology to know which memory traces to select

Technology

AMT TracesPerfmon Traces

SAP ABAP


Business Objects


VB .NET


C#

For CAST AIP version

lower or equal to 7.3.x

For CAST AIP version

higher than 7.3.x

C/C++


Mainframe


IBM PL-PSM z/OS


IBM PL-PSM Universal Database


Oracle Forms / Reports


Oracle PL/SQL


PowerBuilder


J2EE Languages and Technologies


Web Languages


Sybase T-SQL


Microsoft T-SQL


Microsoft Visual Basic


Supported by an extension


Universal Analyzer (COE)
Universal Importer
Extension (Using Python and SDK)
  1. For AMT Traces :
    1. Click on “Run Analysis only option” in CMS (this option is not available when taking a snapshot).

    2. You will find the below options to configure before running the analysis.

    3. Check " Activate AMT Memory Profiling " option.

    4. Click Finish.

The AMT Traces location can be found in this link : CAST Management Studio - Information - How to find logs#Information-Howtofindlogs-AMTMemoryprofiling

This log will be picked up by the CAST Support Tool (CST) - alias Sherlock option Export Logs

  1. For Perfmon Manager traces:

    1. Open Cast-MS, but do not launch the job.
    2. Start PerfMon by choosing Start >Run and typing “perfmon”.
    3. Right click Performance Monitor » New » Data Collector set ( in case it is disabled for you, you may need to have admin privilege)
    4. Add name for Data Collector set.
    5. Add path to save the log.
    6. Select Run as.
    7. Keep selected “Save and close”.
    8. Click Finish.
    9. Now Expand the Data Collector Set » User Defined.
    10. Here you will find the above added data collector set.
    11. Right click on it and go for new.
    12. Add name and select “Performance counter data collector”.
    13. Click Next.
    14. Click Add.
    15. Select Computers.
    16. Expand “process” and select “virtual bytes” as counter.
    17. Select AnaRun in Instances of selected object (this may instead be jeecmd or dotnetcmd).
    18. Click Add and then click OK.
    19. Click Next.
    20. Click Finish.
    21. Now right click on the newly created data collector in the right panel.
    22. Select Properties.
    23. Change the log format from binary to Tab Separated.
    24. Click Apply and then OK.
    25. Now right click on the collector set and go for start.
    26. Now run the job in AnaMan to reproduce the issue.
    27. Once it is reproduced, provide the perfmon log. The name of the Log is .tsv like below screenshot :

Notes / Comments

Related Pages