CMS Snapshot Analysis - Run Analyzer - Information - How to enable memory traces
Purpose
This page explains how to enable memory traces
Applicable in CAST Version
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
Applicable RDBMS
| RDBMS | Yes/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.
- Select the technology to know which memory traces to select
Technology | AMT Traces | Perfmon 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) | ✅ |
- For AMT Traces :
Click on “Run Analysis only option” in CMS (this option is not available when taking a snapshot).
You will find the below options to configure before running the analysis.
Check " Activate AMT Memory Profiling " option.

Click Finish.
InfoThe 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
For Perfmon Manager traces:
- Open Cast-MS, but do not launch the job.
- Start PerfMon by choosing Start >Run and typing “perfmon”.
- Right click Performance Monitor » New » Data Collector set ( in case it is disabled for you, you may need to have admin privilege)
- Add name for Data Collector set.

- Add path to save the log.

- Select Run as.
- Keep selected “Save and close”.

- Click Finish.
- Now Expand the Data Collector Set » User Defined.

- Here you will find the above added data collector set.
- Right click on it and go for new.
- Add name and select “Performance counter data collector”.

- Click Next.
- Click Add.
- Select Computers.
- Expand “process” and select “virtual bytes” as counter.

- Select AnaRun in Instances of selected object (this may instead be jeecmd or dotnetcmd).
- Click Add and then click OK.
- Click Next.
- Click Finish.
- Now right click on the newly created data collector in the right panel.
- Select Properties.

- Change the log format from binary to Tab Separated.
- Click Apply and then OK.
- Now right click on the collector set and go for start.
- Now run the job in AnaMan to reproduce the issue.
- Once it is reproduced, provide the perfmon log. The name of the Log is
.tsv like below screenshot : 
Notes / Comments
Related Pages