Debugging .NET memory leaks - how to know what is holding a reference to what?

后端 未结 5 1780
眼角桃花
眼角桃花 2021-01-02 13:12

I am working on a .NET application where there appears to be a memory leak. I know the text-book answers, that events should be unsubscribed, disposable objects should be di

5条回答
  •  时光说笑
    2021-01-02 14:16

    You can use memory profilers to identify the memory leaks. Here are some,

    MemProfiler

    ANTS Profiler

提交回复
热议问题