Using dotTrace on Windows

This KB article will detail how Server Administrators can leverage dotTrace for troubleshooting purposes. dotTrace can help detect performance bottlenecks in a variety of .NET and .NET Core applications, allowing you to get accurate data on calls execution time, profile SQL queries, and more.


There may be times when you are seeing CPU issues with your SmarterMail service. If you are getting a request to grab a dotTrace of your SmarterMail service, you can follow this article to collect the data we need. 


  1. Select the MailService.exe 
  2. If you do not see the service, then you will need to click on "Show processes of all users"
  3. Select the MailService.exe
  4. Select Timeline
  5. De-select "Collect profiling data from start"
  6. Start
  7. Disable Open Snapshot Immediately
  8. Click Get Snapshot
  9. Click "Get Snapshot"
  10. Here you can see the timeline we are grabbing, should only need about 30 seconds to a minute. 
  11. When done Detach
  12. Click on Snapshots on the left-hand side
  13. You can see the size of the snapshot on the far right. Make sure that you have enoghf room to save the file. 
  14. right-click on the snapshot and Save To
  15. Once you. have this zip up the file, and send over.