[英]can we know which are the variable/ that are causeing memory leakage issue in running exe in c# .net
Currently I am running one .exe I causes memory leakage issue. 当前,我正在运行一个.exe,导致内存泄漏问题。 So I want to know how we could know which variable or process is responsible for this issue 所以我想知道我们如何知道哪个变量或过程导致了此问题
I recommend getting a good memory profiler. 我建议获得一个好的内存分析器。 I've used Redgate ANTS in the past. 我过去曾使用Redgate ANTS 。 It is very good. 这很棒。 JetBrains dotMemory is an alternative to this. JetBrains dotMemory可以替代它。 If you need to profile your application then there are lots of options . 如果您需要分析您的应用程序,则有很多选择 。 A good profiler should be able to tell you what objects are growing over time 一个好的分析器应该能够告诉您随着时间的推移哪些对象正在增长
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.