Test for memory leaks in .NET applications

后端 未结 7 1503
攒了一身酷
攒了一身酷 2021-02-09 12:43

Are there any good(and free) tools for either analyzing static source or running programs to help detect memory leaks?

I\'ve built some windows services and want to make

7条回答
  •  既然无缘
    2021-02-09 12:47

    Don't forget that you can use the Windows Task Manager to detect at least the presence of memory leaks in your service.

    Another way to use the Task Manager to track objects it to switch to the Processes tab, then go to View > Select Columns and check USER Objects and GDI Objects (GDI probably not useful to you since you're running a Service, but others may find it useful.)

提交回复
热议问题