Using dotMemory on Windows

This KB article will detail how Server Administrators can leverage DotMemory for troubleshooting purposes. DotMemory is a memory profiler that is used to take snapshots of your RAM, which can be used to identify Memory issues such as memory leaks.

NOTE: This will normally cause the service to lockup when it is taking a snapshot of what the memory is doing. IT will also use up space on your drive equal to the amount of MEM being used. For Example, if the MEM that is being consumed by SmarterMail is 10 GB, the dotTrace file is going to be 10 GB in size. The service will be unavailable during this time. 

  1. Download DotMemory: https://www.jetbrains.com/dotmemory/download/#section=portable (This is the portable version so it should not install anything).
  2. Start the Trial for DotMemory.
  3. Select Show Processes of All Users
  4. Under Running Process, Select MailService
  5. Under How to control Profiling, Select Manually
  6. Select Start. 
  7. Get a Snapshot (Choose between Condition based or Manual)
    1. Condition-based Snapshot. 
    2. Manual-based Snapshot. 
  8. Once a Snapshot has been created, Detach DotMemory from the process.
  9. Go back to the Home tab. 
  10. Under Workspace, right-click the profiling session you just came from.
  11. Select Export
  12. Save the file and send it over.