Getting memory error trying to debug manage memory with a big minidump file

家住魔仙堡 提交于 2020-01-01 23:11:44

问题


I'm trying to "Debug Managed Memory" with Visual Studio 2015 Enterprise Edition. The file is at 1.2GB and after while loading I get the error message "Memory analysis could not be completed due to insufficient memory" after have been pressing "Debug Managed Memory"

What can I do to still be able to look into the memory with the pdb files? Can I start Visual Studio 2015 with more memory (the computer has 25 GB memory free) I guess it has to do with Visual Studio being running with x86.


回答1:


It could be related to VisualStudio bug

see the following link

https://connect.microsoft.com/VisualStudio/feedback/details/2621837/debug-managed-memory-for-10-gb-memory-dump-files

as a workaround they are suggesting about turning off automatic symbol loading before starting analyzing dumps (i.e. Tools -> Options ->Debugging -> Symbols -> Select "only specified modules")




回答2:


This error not apperas when project compiled to x64 platform



来源:https://stackoverflow.com/questions/33700913/getting-memory-error-trying-to-debug-manage-memory-with-a-big-minidump-file

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