开发者

How to analyse program's memory usage in Visual Studio 2010?

开发者 https://www.devze.com 2023-01-25 12:19 出处:网络
Is there a way to check what memory has been allocated to in a program coded i开发者_StackOverflow社区n VS 2010?

Is there a way to check what memory has been allocated to in a program coded i开发者_StackOverflow社区n VS 2010? I've been noticing that a recent program I've been making keeps using more and more memory over time without releasing any.

Also, are there any articles on code design that teaches you good memory management? I seem to be searching the wrong terms on google as I keep getting useless results.


There are commercial tools such as ANTS Memory Profiler or .NET Memory Profiler or dotTrace. Secondly, take a look at this MSDN article. Lastly, Maoni Stephens has many blog posts on garbage collection and memory management in .NET. They are all linked here.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号