I am trying to profile my memory-intensive application to find a way to cut down on its memory consumption. Right now it is using up to 2.5GB of memory (32-bit C# application with /largeaddressaware flag). Using VS2015 diagnostic tools I can take a memory snapshot just fine, but when I try to view its details I consistently get the following error:
An error occurred while processing the snapshot:
Failed to process managed heap
I've tried to also patch devenv.exe with /largeaddressaware flag, but it does not seem to help. Is there any way to resolve this issue?