microsoft / dotnet-samples

Contains samples and documentation for libraries and tools of the .NET framework. Pull requests welcome!
MIT License
707 stars 187 forks source link

Cannot load a dump file larger than 4GB #24

Closed goldshtn closed 9 years ago

goldshtn commented 9 years ago

Attaching to a process with more than 4GB heap works great. Opening a dump file from that process fails with the following exception:

ClrDiagnosticsException: Failure loading DAC: CreateDacInstance failed 0x80131c4f

WinDbg + SOS are perfectly capable of loading the dump file. The problem seems to lie with the ICLRDataTarget implementation that CLRMD provides (in DacDataTarget); specifically, with the DumpReader class adapted from the MDBG sample. It says in the comments that the class was designed to handle 4GB dump files only.

terrajobst commented 9 years ago

We've moved CLR MD into its own GitHub repository. If this issue still applies, please file it there.

Sorry for the inconvenience but we never intended for this repo to contain the component itself.