ANTS Memory Profiler 7

Profiling a Windows service

  1. Start ANTS Memory Profiler. If it is already running, on the File menu, click New Profiling Session...
  2. On the ANTS Memory Profiler Settings dialog box, on the Application Settings tab, select Windows service.
  3. Next to Windows service: choose the windows service from the dropdown list. Click the  icon to refresh the list, for example, if you have started the service since the ANTS Memory Profiler Settings dialog box was displayed.
  4. You should normally leave Profile child processes and Monitor disposal of objects selected, although monitoring the disposal of objects may impact the performance of your application.
  5. If required, specify any Arguments required by the service.
  6. If required, change the performance counters to record.
  7. Click .
  8. Check whether there are any memory problems.

If you experience problems, see Profiling a Windows service fails if the service uses a system account.


Didn't find what you were looking for?