VS2010 .NET Memory Analysis - extremely slow

只愿长相守 提交于 2019-12-03 16:19:07

问题


Running VS2010's .NET Memory Allocation analysis takes ages to complete.

The program itself ran for about 3 minutes and generated 35GB of memory allocations. The profiler's output file is about 28GB. The report analysis process took over three hours (on a dual Xeon with 8GB RAM) to complete.

This has happened to me every time I've run the memory profiler.
Is this your experience also with this tool?
Is there anything to do to speed up this process?

Thanks!


回答1:


Try increasing the amount of RAM available to VS2010 by using the following link, you can also use it in VS 2012 and it really does makes a difference to performance (especially build times on large projects). Hopefully this will also help you with memory allocation analysis:

http://forthosewhomatters.blogspot.co.uk/2009/09/largeaddressaware-and-visual-studio.html




回答2:


I had the same issue but did not really find a solution for it. If you need the profiler on a regular basis it might be worth looking at commercial ones. Here is a list of other ones. I think all of them are available as trial version.

There are also many other posts on StackOverflow.

Good Luck, Stephan



来源:https://stackoverflow.com/questions/3055232/vs2010-net-memory-analysis-extremely-slow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!