What's the best tool to track a process's memory usage over a long period of time in Windows?

后端 未结 7 1250
北海茫月
北海茫月 2021-01-16 07:17

What is the best available tool to monitor the memory usage of my C#/.Net windows service over a long period of time. As far as I know, tools like perfmon can monitor the m

7条回答
  •  天涯浪人
    2021-01-16 07:49

    As good as monitoring the memory is by itself, you're probably thinking of memory profiling to identify leaks or stale objects - http://memprofiler.com/ is a good choice here, but there are plenty of others.

    If you want to do something very specific, don't be afraid to write your own WMI-based logger running on a timer - you could get this to email you process statistics, warn when it grows too fast or too high, send it as XML for charting, etc.

提交回复
热议问题