Getting memory error trying to debug manage memory

2020-08-09 08:14发布

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.

2条回答
冷血范
2楼-- · 2020-08-09 08:41

This error not apperas when project compiled to x64 platform

查看更多
姐就是有狂的资本
3楼-- · 2020-08-09 08:42

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")

查看更多
登录 后发表回答