Purpose

This page explains how to enable memory traces

Applicable in CAST Version

Release

Yes/No

8.3.x(tick)
Applicable RDBMS

RDBMS

Yes/No

CSS(tick) 
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

    (tick)

    Business Objects


    (tick)

    VB .NET


    (tick)

    C#

    For CAST AIP version

    lower or equal to 7.3.x

    (tick)

    For CAST AIP version

    higher than 7.3.x

    (tick)

    C/C++

    (tick)

    Mainframe

    (tick)

    IBM PL-PSM z/OS


    (tick)

    IBM PL-PSM Universal Database


    (tick)

    Oracle Forms / Reports

    (tick)

    Oracle PL/SQL

    (tick)

    PowerBuilder


    (tick)

    J2EE Languages and Technologies

    (tick)

    Web Languages

    (tick)

    Sybase T-SQL

    (tick)

    Microsoft T-SQL

    (tick)

    Microsoft Visual Basic


    (tick)

    Supported by an extension


    (tick)
    Universal Analyzer (COE)(tick)
    Universal Importer(tick)
    Extension (Using Python and SDK)
    (tick)
  2. 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

  3. 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 <the name of your DATACOLLECTOR>.tsv like below screenshot :

Notes / Comments


Related Pages