A Tool to Monitor COM+ Component Call Time and Trigger Memory Dump in An Automation Way

There were multiple ways to monitor COM+ Component call time automatically, most of them require certain C++ coding efforts or rely on third party legacy Dll. Especially when we experienced intermittently slow COM+ performance issues, it is hard to trigger Memory Dump for certain COM+ component.

After some research, I created a tool with VS2012 to resolve this. The tool has been tested on Win2003 and Win8, it works fine.

By downloading and unzip the tool, you can take below ways to use it simply:

1.List all running Applications Components Call status:

MyCOMTracker –State

You can get statistics data under Application ID:

Compare to the UI in DCOMCNFG:

2.Create Memory Dump files automatically with certain numbers when Some Object has slow Call Time. To create dump, the tool uses DebugDiag 1.2 by default. DebugDiag 1.2 used here because it is compatible with Win2003 ~ Win8.

For example, run this command with Admin permission which can write dump to your program folder:

With this command, every 15 seconds, if the BadObject.SlowObject.1.1 call time is above 5 seconds, a dump will be created. Totally no more 3. The dumps will be be captured to C:\Program Files\DebugDiag\Logs\Misc