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

2

27

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.

Tarshatarshish answered 13/11, 2015 at 20:5 Comment(4)
You could analyze it with WinDbgArchil
I know, but I rather not if possible.Tarshatarshish
One way is to create dmp file and analyze it with VS 2015 as written here msdn.microsoft.com/en-us/library/dn342825.aspx but here comes the problem that is only available for ultimate or enterprise as written here #21242405Aleida
@batmaci that is exactly what I try to do, but the dump file was to big.Tarshatarshish
D
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")

Dower answered 17/10, 2016 at 16:28 Comment(1)
link is broken.Townsend
S
0

This error not apperas when project compiled to x64 platform

Stipitate answered 5/8, 2018 at 19:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.