Is there some way to watch all my in memory (non-disposed)
objects ?
有没有办法观察我所有的内存(非处置)对象?
this can help in complex dirty old apps to keep track of memory and find the leak reasons faster
这可以帮助复杂的脏旧应用程序跟踪内存并更快地找到泄漏原因
thank you.
谢谢。
1 个解决方案
#1
1
You'll want to use a profiler to track object allocation/de-allocation over the run of an application. Take a look at the Visual Studio Profiler or a commercial one like Red Gate ANTS memory profiler or JetBrains dotTrace. CLR Profiler is another useful tool specifically for this purpose.
您将需要使用分析器来跟踪应用程序运行时的对象分配/解除分配。查看Visual Studio Profiler或Red Gate ANTS内存分析器或JetBrains dotTrace等商业分析器。 CLR Profiler是另一个专门用于此目的的有用工具。
#1
1
You'll want to use a profiler to track object allocation/de-allocation over the run of an application. Take a look at the Visual Studio Profiler or a commercial one like Red Gate ANTS memory profiler or JetBrains dotTrace. CLR Profiler is another useful tool specifically for this purpose.
您将需要使用分析器来跟踪应用程序运行时的对象分配/解除分配。查看Visual Studio Profiler或Red Gate ANTS内存分析器或JetBrains dotTrace等商业分析器。 CLR Profiler是另一个专门用于此目的的有用工具。