I have a C# application running on a Windows Server running as a service. I have recently introduced a memory leak in the application and it has crashed a few times with OutOfMemoryException
s. These crashes have generated WER reports and dump files. There are two dump files, triage.dmp and memory.hdmp. I can open triage.dmp just fine and look at the thread states but it doesn't have any info about the memory of the application. I'd like to open memory.hdmp but I can't, using both Visual Studio and Windbg I get an error stating that the file is corrupt. This has happened for multiple memory.hdmp files.
Is there some trick to opening these files or are they actually corrupt? If they are, is there some configuration needed for Windows to produce valid hdmp files? Does memory.hdmp even have the info I would need to debug a memory leak?
Thanks in advance for all the help!