Tools - PerfMon - How to Log memory consumption of a program using Performance Monitor PerfMon in Windows 7 or Windows 2008

Purpose

The page details out the process of  logging memory consumption of a program using Performance Monitor (PerfMon) when the OS is Win 7 or Win 2008.

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

In this description the program is anaman (this may need to be anarun or jeecmd or dotnetcmd if that is where the issue is)

  1. Open CAST-MS, but do not launch the job
  2. Start PerfMon by choosing Start->Run and typing "perfmon".
  3. Right click on Performance Monitor >> New >> Data Collector set [ in case it is disabled for you, you may need to admin privilege]
  4. Add name for Data Collector set
  5. Add path to save the log
  6. Select the Run as
  7. Keep selected "Save and close"
  8. Click on 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 the "Performance counter data collector"
  13. Click next
  14. Click on the Add
  15. select the computers
  16. Expand "process" and select "virtual bytes" as counter
  17. Select ANAMAN in Instances of selected object (again this may need to be anarun or jeecmd or dotnetcmd if that is where the issue is)  - Most likely you may need to start the CAST-MS analysis and wait for the analysis step to keep going here
  18. Click on Add and then click on OK
  19. Click next
  20. Click on 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 on Apply and then on OK
  25. Now right click on the collector set and go for start
  26. Now run the job in CAST-MS to reproduce the issue
  27. Once it is reproduced, provide us the perfmon log
Notes / Comments



Related Pages