Tools to analyzing the memory footprint of native DLLs and assemblies loaded in a process?

前端 未结 3 1054
情话喂你
情话喂你 2021-02-05 19:28

I have a process holding 130MB of memory according to task manager, with only 11MB of live .NET objects according to dotTrace so I am wondering what\'s happening with the other

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-05 19:55

    I use RedGate ANTS .NET Developer Bundle for these issues. Memory Profiler allows to identify memory leaks (like zombies objects) and to make snapshots of memory usage. You'll then be able to compare classes and instances between two snapshots. You can track down instance reference in a tree and easily view the top object who maintain the reference.

    Besides, Performance Profiler provides code profiling to identify bottlenecks and CPU usage.

    For years now, it helped us alot to find application problems within minutes.

提交回复
热议问题