SUBMIT A FILE TYPE CONTACT US SUPPORT ABOUT US

What Is an HDMP File? How to Check a Windows Heap Crash Dump Before You Open It

HDMP files are Windows crash dumps with heap data, and readers that open them can still accept damaged ones. Jump to your question below, or work through it in order.

40 min read Updated October 2026 Checked against sources and tests

What Is an HDMP File? A Windows crash dump with heap data, and no public sample

Short answer

An HDMP file is a Windows crash dump that stores heap data. Microsoft's Windows Error Reporting FAQ describes it as an MDMP minidump plus heap data. MDMP files start with the letters MDMP, a 32 byte header and a list of streams.

We found no public HDMP file, so we read 63 dump files from four public crash tools with five readers. We also damaged one dump in 41 ways. All five readers refused 5 copies, all five opened 13 and they split on 23. Only 11 copies came back the same in both decoders.

To check HDMP files without a debugger, read the six steps. To see what is inside, read the layout. If your HDMP file will not open, begin with the eight causes.

An HDMP file is a Windows crash dump that stores heap data. Microsoft's FAQ on Windows Error Reporting describes HDMP files as MDMP minidumps plus heap data. The ending is only a label, because the first bytes decide what a file is.

Picture a program that crashed on a Windows PC. A support person asks for the crash dump, and you find an HDMP file named memory.hdmp. A text editor shows odd symbols, because an HDMP file is binary.

The Windows Error Reporting FAQ from Microsoft lists .hdmp next to .mdmp. It calls MDMP the default minidump with stacks and loaded modules, and it calls HDMP files MDMP plus heap data. The FAQ says dump files appear inside CAB files.

FileInfo calls HDMP files an uncompressed error dump from Windows XP or Vista, and lists Visual Studio 2022 as the only program that opens them. Filext lists the ending as well. We could not check the XP and Vista part, because we found no public HDMP file.

FileInfo also says compressed heap dumps are saved as MDMP files. Our 56 MDMP files were not compressed inside, because gzip cut them to 30.5 percent of their size. Microsoft says nothing about compression for HDMP files or MDMP files.

We looked for a public sample of an HDMP file and found none. Microsoft describes HDMP files as MDMP plus heap data, so we expect the same header and stream list. We could not confirm that, and we say so wherever a claim rests on it.

Where our dump files come from

Our 63 dump files come from the test folders of 4 public projects. They are Breakpad with 53, rust-minidump with 7, symbolic with 2 and sentry-native with 1. Seven of the 63 are text microdumps, and 56 are minidumps.

Many are built to be odd, so they include cases that a normal crash does not. The 63 files total 11,913,417 bytes and range from 235 bytes to 8,408,702, with a median of 27,549. We recorded the SHA256 hash of every file, and all 63 matched after the tests.

The tests below also use 41 damaged copies of one 42,412 byte dump, 10 renamed copies and 6 other files. We copied the 42,412 byte dump from the sentry-native tests and called it base.hdmp. All of these end in .hdmp, so they are HDMP files by name and MDMP files by content.

HDMP file facts at a glance

Quick facts about HDMP files
Property Value
Meaning Heap dump. Microsoft's FAQ describes HDMP files as MDMP plus heap data.
Ending FileInfo and Filext both list .hdmp for HDMP files. The ending .mdmp names the same dump without heap data.
Made by Windows Error Reporting stores HDMP files inside CAB files, per the Microsoft FAQ.
First bytes 4d 44 4d 50 (MDMP) in all 56 of our minidumps. We found no public HDMP file to confirm it.
Header We expect HDMP files to have the 32 byte MDMP header. It has a version, a stream count, a directory offset, a checksum that can be 0, a time stamp and 64 bit flags.
Streams Our minidumps have 4 to 16 streams. 54 of the 56 have a stream list that fits inside the file.
Compression None inside our minidumps. gzip cut them to 30.5 percent of their size.
Opens with Visual Studio per FileInfo, and WinDbg per Microsoft. We tested five other readers on 63 dump files.
Our tests 63 dump files, 41 damaged copies, 10 renamed copies and 6 other files named .hdmp.

Wrong page? Our study files end in .dmp and share one header with MDMP files. See how the types compare.

What Is Inside an HDMP File? A 32 byte header and a list of streams

Microsoft describes HDMP files as MDMP plus heap data, so we expect a 32 byte header, a stream list of 12 byte entries and the stream data it points to. Our 42,412 byte example, base.hdmp, has 15 entries in its list, which starts at byte 32.

We gave one MDMP minidump the ending .hdmp and called it base.hdmp, so every byte can be read. This HDMP file is 42,412 bytes long with 5 threads and 34 modules, and it comes from Windows build 22621 on a 64 bit CPU. The figure shows its blocks from the outside in.

The layout of one dump file from our tests: a 32 byte header that starts with MDMP, a stream list of 15 entries of 12 bytes, eleven streams stored out of order, 13 memory ranges and the rest of the data that the streams point to.
One dump file from our tests, outside in. The blocks are not drawn to scale, and the numbers come from a 42,412 byte file that we call base.hdmp.

Read the figure from the top. The first check in an HDMP file is the four letters at byte 0, and 4d 44 4d 50 spells MDMP. Microsoft's header definition lists the other fields in order. The low word of the version is 0xa793 in all 56 of our minidumps.

The header of an HDMP file, byte by byte

The first 44 bytes
xxd -g 1 -l 44 base.hdmp
00000000: 4d 44 4d 50 93 a7 5d a0 0f 00 00 00 20 00 00 00  MDMP..]..... ...
00000010: 00 00 00 00 a8 bb 16 67 00 00 20 00 00 00 00 00  .......g.. .....
00000020: 03 00 00 00 f4 00 00 00 08 07 00 00              ............

Bytes 4 to 7 of this HDMP file, 93 a7 5d a0, are the version. The low word is 0xa793 and the high word is 0xa05d. 0f 00 00 00 is a stream count of 15, and 20 00 00 00 is a directory offset of 32. Both numbers read low byte first.

The checksum at bytes 16 to 19 is 0, which Microsoft allows. a8 bb 16 67 is the time stamp, 21 October 2024 in UTC. The flags at bytes 24 to 31 read 0x200000, the AVX state bit in Microsoft's flag list.

The stream list starts at byte 32. Its first entry, 03 00 00 00 f4 00 00 00 08 07 00 00, says stream type 3 is 244 bytes long and starts at byte 1,800. Type 3 is the thread list in Microsoft's stream type list.

The 15 entries take 180 bytes, so the list ends at byte 212. This HDMP file does not store its streams in list order. The thread list is entry 0 at byte 1,800, and the system info stream, entry 5, starts at byte 212.

The streams in HDMP files and MDMP files

Every list entry has a type, a size and an offset. Microsoft reserves types up to 0xffff and leaves higher values to applications. That is where the Breakpad type 0x47670001 and the Crashpad type 0x43500001 belong.

Streams in our minidumps
Stream What we found
Thread list (3) 54 of 54 files with a good list have one. 27 of the 54 have a single thread, and the busiest has 11.
Module list (4) 54 of 54. The largest list has 354 modules, and base.hdmp has 34.
System info (7) 54 of 54. It names the platform, CPU and build, like the 22621 of base.hdmp.
Memory list (5) 53 of 54. Our example has 13 ranges that take 20,798 bytes.
Exception (6) 52 of 54. The crash code and address, like the access violation of base.hdmp.
Misc info (15) 31 of 54. Details about the process.
Breakpad streams 23 of 54 files have the Breakpad types, from 0x47670001 to 0x4767000a.
Crashpad info 3 of 54 files, at type 0x43500001.
Memory64 list (9) One file, the 8,408,702 byte dump with flags 0x40002.
Token (19) One file, the same 8,408,702 byte dump.
Unused (0) 28 of 54 files have at least one entry of type 0, and base.hdmp has four.

The header fields of our minidumps

Header fields of our minidumps
Field What we found
Signature 4d 44 4d 50 in 56 of 56 minidumps.
Version Low word 0xa793 in 56 of 56. Microsoft calls the high word implementation specific, and our files have 10 different values.
Stream count 4 to 16 in our files, and 15 in base.hdmp.
Checksum 0 in 54 of 56 files. Microsoft says it can be zero.
Time stamp Seconds since 1970 in UTC. base.hdmp was made on 21 October 2024.
Flags 49 files have 0, 3 have 0x200000, 1 has 0x100, 1 has 0x40002 and 2 have odd values.

The header is small. Our script reads 32 bytes and the stream list of an HDMP file. It decodes no stream, so damage deeper in the file can pass it, as the damage tests show.

Which Kind of Dump Do You Have? Platform, flags and size, and the ending names none

Four questions sort a dump file, the platform, the flags, the streams and the size. Of 54 files with a readable list, 26 came from Windows and 28 from Linux, macOS or iOS. 49 of 56 have flags of 0, and the ending of an HDMP file names none of this.

Most questions about HDMP files come down to how much the file stores. A dump with flags of 0 stores little, and a full memory dump stores the process. The header and the stream list answer both, and no stream has to be decoded to read them.

What our 54 readable dump files contain: 26 come from Windows and 28 from Linux, macOS or iOS. 49 of 56 files have flags of 0, 52 have an exception stream, and 23 have Breakpad streams.
The ending names none of these. 28 of the 54 dumps with a readable stream list did not come from Windows, and 49 of 56 have flags of 0.

Windows or something else

The system info stream names the platform. Of our 54 files with a good list, 26 are Windows, 24 are Linux, 3 are macOS and 1 is iOS. An MDMP file does not prove the dump came from Windows, because crash tools on other systems write the same format.

The 26 Windows files cover 8 builds. Build 7600, the Windows 7 build, appears in 16 of them. Build 2600, the Windows XP build, appears in 2, and the newest is 22631, a Windows 11 build.

Flags and heap data

The flags say what the writer saved. Microsoft's MINIDUMP_TYPE list gives 0x2 for full memory, 0x100 for process and thread data and 0x200 for private read write memory. None of our files has 0x200.

Heap data needs that kind of memory, but the Microsoft FAQ does not name the flags an HDMP file uses. So we cannot say which flags HDMP files have. The closest sample is the 8,408,702 byte dump with flags 0x40002, which means full memory and token information.

Small or large

50 of our 56 minidumps are between 10 KB and 100 KB. Two are under 1,000 bytes, two are between 100 KB and 1 MB and two are over 1 MB. The full memory dump is about 305 times the median size.

The ending is not the platform 28 of 54 dumps with a readable list did not come from Windows.
Flags show how much was saved 49 of 56 files have flags of 0, and one has 0x40002 for full memory.
Streams differ A minidump has 4 to 16 entries in its list, and 28 of 54 have unused ones.
Most are small 50 of 56 minidumps are between 10 KB and 100 KB.

Not sure the file is a dump at all? Check it with our script.

What Did We Find in 63 Dump Files? Five readers, and a split on 4 files

We looked for HDMP files and found none, so we read 63 dump files from four public projects with five readers. The file command opened 56, the Python library 55, minidump-stackwalk and our script 54 and udmp-parser 52. All five opened 52 files together, and 7-Zip opened none.

We took 63 files from the test folders of Breakpad, rust-minidump, symbolic and sentry-native. We found no public HDMP file, so none of the 63 ends in .hdmp. We recorded the SHA256 hash of every file and checked it again after the tests.

The readers were the file command 5.45, our 45 line Python script, the Python library minidump 0.0.24, udmp-parser 0.7.0 and minidump-stackwalk 0.27.0. We added 7-Zip 23.01 as a check. We worked on Linux with Python 3.13, and we opened no file in a debugger.

A reader opened a file when it returned an answer without an error. That test is light for the file command and our script, which read the header and the list. It is stronger for the Python library and minidump-stackwalk, which parse more of the file.

63 dump files we read
5 readers on every file
41 damaged copies of one dump
26 Windows dumps among 54
Five readers on the same 63 dump files: file opened 56, minidump-stackwalk and our script 54, the Python library 55 and udmp-parser 52. 7-Zip opened none. All five readers opened 52 files together and none opened the 7 text files.
Five readers and 7-Zip on 63 files. The gaps come from 7 text files and 2 files built to be broken.
What five readers found in 63 dump files
Test Result
Opened The file command opened 56 of 63 files, the Python library 55, minidump-stackwalk and our script 54 and udmp-parser 52. 7-Zip opened none.
Together All five readers opened 52 files. None opened 7, and the readers split on 4.
Text files Seven microdumps from the Breakpad tests are text. All five readers refused them.
Platforms Of 54 files with a good list, 26 are Windows, 24 are Linux, 3 are macOS and 1 is iOS.
Threads and modules The minidump-stackwalk reader read 54 files. 27 have one thread, the busiest has 11 and the largest module list has 354.
Flags 49 of 56 minidumps have flags of 0. One has 0x40002 for full memory, and 3 have 0x200000.
Sizes From 235 to 8,408,702 bytes. The median is 27,549, and the 63 files total 11,913,417 bytes.

All five readers opened 52 of the 63 files. Seven files were opened by none, and the other 4 split the readers. Two of the four are files built to be broken, and two are dumps that udmp-parser refuses.

The 4 files that split the readers

rustminidump_full-dump.dmp is the 8,408,702 byte full memory dump. The file command, our script, the Python library and minidump-stackwalk opened it, and udmp-parser refused it. symbolic_crash_macos.dmp got the same split.

rustminidump_invalid-range.dmp has 276 bytes and a stream list that does not fit inside the file. Only the file command and the Python library opened it. rustminidump_invalid-record-count.dmp has 235 bytes, and only the file command opened it.

The 7 text files

The seven microdumps from the Breakpad tests are text, not binary. Their names say arm, arm64, mips32, mips64, x86, multiple and withcrashreason. All five readers refused them, and 7-Zip did too. Our script prints the first four bytes it finds, so you can see the difference.

Why 7-Zip opened none

7-Zip found no archive in any of the 63 files. A dump is not an archive, so 7-Zip is no way to look inside an HDMP file. It opened 2 of the 6 other files we named .hdmp, as the rename test shows.

Readers differ The file command opened 56 files and udmp-parser opened 52. Use a second reader on any HDMP file you rely on.
Text dumps exist 7 of 63 files are text microdumps, and all five readers refused them.
Large files exist The 8,408,702 byte dump is about 305 times the median size, and udmp-parser refused it.
7-Zip sees no archive It opened none of the 63 dump files.

Read the study with care. It shows what five readers do with 63 dump files from four public test folders. None is an HDMP file, and many are odd on purpose. A reader that agrees on our files can still fail on your HDMP file.

What Do Readers Do With a Damaged Dump? 41 broken copies, five readers and 23 split decisions

We damaged one 42,412 byte HDMP file in 41 ways. All five readers refused 5 copies, all five opened 13 and the readers split on 23. The file command opened 36 copies and udmp-parser 19. Only 11 copies came back the same in both decoders.

The 41 damaged HDMP files are copies of base.hdmp and come in six groups. Group A changes header fields, B the first bytes and C cuts the file short. D changes stream list entries, E stream contents and F adds or changes bytes. Every damaged HDMP file changes one thing.

We asked two questions about every damaged HDMP file. Did the five readers open it? And did the Python library and minidump-stackwalk return the same threads, modules and crash as the intact file? The second question is the strict one.

A grid of 41 damaged copies of one dump file and five readers. All five readers refused 5 copies, all five opened 13 and the readers split on 23. Only 11 copies came back with the same threads, modules and crash in both decoders.
Rows are damaged copies. The first five columns show whether a reader opened the copy. The last two show whether the threads, modules and crash match the intact file.

The 5 copies that every reader refused

Copies A1, A2, B1, B2 and B3 broke the signature of the HDMP file. They have MDMX in place of MDMP, a zeroed signature, the first 4 bytes removed, 16 zero bytes in front or a zeroed header. All five readers refused all five, and our script says the first 4 bytes are not MDMP.

The 13 copies that every reader opened

Most header damage in an HDMP file went unseen. A version high word of ffff, a stream count of 16, a checksum of deadbeef and a time stamp of 0 passed every reader.

So did copies with the last byte or the last 1000 bytes removed, 64 KB of random bytes after the end and 100 bytes of text after the end.

Ten of the 13 damaged HDMP files came back the same in both decoders. Opened does not mean the same answer, though. A module list size of 3 billion (D7) changed the minidump-stackwalk answer. A zeroed system info stream (E1) changed both, and a memory range count of 65535 (E5) changed the Python library answer.

The 23 copies that split the readers

Of the 41 damaged HDMP files, the udmp-parser reader opened only 19 and the minidump-stackwalk reader 21, fewer than any other reader. The file command opened 36, and our script and the Python library opened 30.

A version low word of 0 or 0xa794 (A3 and A4) split the readers. The file command, the Python library and udmp-parser opened both copies, and our script and minidump-stackwalk refused them. A stream count of 4 billion (A8) was opened by the file command only.

Cut HDMP files split the readers too. A copy cut at 16 or 32 bytes was opened by the file command and the Python library only. A copy cut in half was opened by four readers, and neither decoder returned the same answer as the intact HDMP file.

Copies that break a reader

Three damaged HDMP files pushed the Python library past its 3 GB memory limit. They are D5, which has the first stream offset set to 0, plus F4 and F5, which have 1000 bytes in the middle set to ff or to random bytes. The minidump-stackwalk reader opened F4 and F5.

A module count of 1 million (E6) kept the Python library busy past our 40 second limit, so we stopped it. The minidump-stackwalk reader opened that copy. A damaged count or offset can make a reader ask for far more memory than an HDMP file has.

What our script passes

Our script opened 30 of the 41 damaged HDMP files. Of those 30, 19 came back different in at least one decoder, because the script reads no stream. A pass from the script means the header and the list make sense. It does not mean the HDMP file can be analyzed.

Readers differ The five readers split on 23 of 41 damaged HDMP files. Use two readers on any HDMP file you care about.
Cuts are partly read A copy cut in half opened in four readers, and neither decoder matched the intact HDMP file.
Extra bytes are harmless Extra bytes at the end of an HDMP file matched in both decoders. They were 64 KB of random bytes, 100 bytes of text and a second copy.
One field can cost gigabytes Three damaged HDMP files pushed the Python library past 3 GB of memory.

Read the grid with care. Every copy changes one thing in one HDMP file from one tool. Damage in the wild changes many things at once. The Python library had to return the same threads, modules, system info, crash code and range count, and minidump-stackwalk the same threads, modules and crash type. We opened no copy in a debugger.

What Does Our Expert Say About HDMP Files? A note from Neeraj Singh on trusting one reader

Check HDMP files with two readers before you trust one answer. Five readers opened 52 of 63 files together and split on 23 of 41 damaged HDMP files. A header check takes seconds, and a thread and module count takes a little longer.

Neeraj Singh

Expert insight

“HDMP files look like one more crash file, so people open them in the first tool that accepts them. In our tests five readers split on 23 of 41 damaged copies, and only 11 copies came back the same in both decoders. Check every HDMP file with two readers, compare the thread and module counts and read what it contains before you share it.”

Neeraj Singh Manager, Tech Support & Operations 19+ years fixing Windows and system errors

Why a quiet reader proves little

A reader that opens an HDMP file shows that the header and the list make sense. It does not show that the threads and modules decode. In our tests the file command opened 36 damaged HDMP files, and only 11 came back the same in both decoders.

The check has a limit. Two readers that agree can both be wrong, and neither names the crash cause without symbols. The script from the check reads 32 bytes and the stream list of an HDMP file, so compare its answer with another reader and one count of threads and modules.

Copy the HDMP file before you touch it. Write down the SHA256 hash of the original and work on a copy. The hash shows which HDMP file you received, and it lets you spot a changed download later.

How Do You Open an HDMP File? Two debuggers from Microsoft and five readers we tested

Visual Studio and WinDbg open crash dumps, and Microsoft documents both. FileInfo lists only Visual Studio 2022 for HDMP files. We read 63 dump files with five other readers instead, and we tested neither debugger.

The table lists the programs that open crash dumps. The readers with a version number are the ones we tested. For the two debuggers we went by the Microsoft pages, because we worked on Linux and opened no HDMP file in a debugger.

Programs that open dump files
Program What it does
Visual Studio Microsoft's Visual Studio dump page says to choose File, Open, File and select the dump. It saves a minidump with heap by default, and it cannot debug the older full user mode format. FileInfo lists it for HDMP files. We tested nothing here.
WinDbg Microsoft's page on opening a crash dump in WinDbg gives File, Open crash dump, the shortcut Ctrl+D and the command line option -z. We tested nothing here.
The file command Version 5.45. It names the type from the header and opened 56 of 63 files. For base.hdmp it prints the stream count and the time.
Our script A 45 line Python script that reads the 32 byte header and the stream list. It opened 54 of 63 files and decodes no stream.
Python library The minidump package, version 0.0.24. It opened 55 files and reads threads, modules and system info.
udmp-parser Version 0.7.0, a library for Windows user dumps. It opened 52 files and refused the full memory dump.
minidump-stackwalk Version 0.27.0, from the Rust minidump project. It opened 54 files and prints the system, crash and threads.
7-Zip Version 23.01. It opened none of the 63 files, so it is no way to read an HDMP file.

Open HDMP files with minidump-stackwalk

The minidump-stackwalk program comes from the Rust minidump project. Its option --human prints the system, the CPU and the crash reason of an HDMP file as text. For base.hdmp the first 8 lines name Windows build 22621, an amd64 CPU with 12 cores and an access violation at address 0x20.

The first 8 lines of the report
minidump-stackwalk --human base.hdmp
Operating system: Windows NT
                  10.0.22621
CPU: amd64
     family 25 model 33 stepping 0
     12 CPUs

Crash reason:  EXCEPTION_ACCESS_VIOLATION_WRITE
Crash address: 0x0000000000000020

Microsoft says reading a dump needs the matching binaries and symbol files, as its minidump overview explains. Without them a reader can still count threads and modules in an HDMP file, and that is all our checks needed.

Open HDMP files with Python

The Python package minidump reads the same streams. Four lines print the thread count, module count, CPU and build of an HDMP file. The counts match the 5 threads and 34 modules that minidump-stackwalk found.

Count threads and modules
from minidump.minidumpfile import MinidumpFile
m = MinidumpFile.parse('base.hdmp')
print(len(m.threads.threads), 'threads', len(m.modules.modules), 'modules')
print(m.sysinfo.ProcessorArchitecture.name, m.sysinfo.BuildNumber)
5 threads 34 modules
AMD64 22621

The Python library failed on 8 of the 63 files and on 11 of the 41 damaged HDMP files, so read its answer with care. The damage grid lists the copies where it differed from minidump-stackwalk.

Install a debugger from Microsoft. Download Visual Studio or WinDbg from Microsoft's own pages, and write down the file hash if the page gives one. The five readers we tested need no special software to open an HDMP file.

How Do You Check an HDMP File? Six steps, and only one of them reads stream contents

Check HDMP files in six steps. Read the first 4 bytes, then the header, then the stream list with our 45 line script. Only the last step reads stream contents. The script reads 32 bytes and the list, and it stops there.

The first reads need no Python. The xxd command prints bytes, and the file command names the type of an HDMP file. For base.hdmp they show the letters MDMP, a stream count of 15 and a time stamp of 21 October 2024.

Steps 2 and 3 on one HDMP file
xxd -g 1 -l 44 base.hdmp
00000000: 4d 44 4d 50 93 a7 5d a0 0f 00 00 00 20 00 00 00  MDMP..]..... ...
00000010: 00 00 00 00 a8 bb 16 67 00 00 20 00 00 00 00 00  .......g.. .....
00000020: 03 00 00 00 f4 00 00 00 08 07 00 00              ............
file -b base.hdmp
Mini DuMP crash report, 15 streams, Mon Oct 21 20:38:00 2024, 0x200000 type

Read the first line from the left. Bytes 0 to 3, 4d 44 4d 50, spell MDMP. The file command prints the same facts as words. It names 15 streams, the date and the type 0x200000, and it calls the file a Mini DuMP crash report.

Step 4 starts at byte 32, the directory offset. Every entry is 12 bytes and has a type, a size and an offset. A kernel dump starts with PAGEDUMP or PAGEDU64 instead, and Microsoft says it needs the Windows Driver Kit debugging tools.

Check HDMP files with Python

The script reads the 32 header bytes of HDMP files and then the stream list. It prints the version, stream count, directory offset, time, flags and size, then one line for every stream. It decodes no stream, and it never changes an HDMP file.

Read the header and the stream list of an HDMP file
#!/usr/bin/env python3
"""hdmp_peek.py - read the 32 byte header and the stream list of an HDMP or MDMP file. Decodes no stream.
Usage: python3 hdmp_peek.py FILE [FILE ...]
"""
import os, struct, sys, datetime

NAMES = {0: 'Unused', 3: 'ThreadList', 4: 'ModuleList', 5: 'MemoryList', 6: 'Exception',
         7: 'SystemInfo', 8: 'ThreadExList', 9: 'Memory64List', 10: 'CommentA', 11: 'CommentW',
         12: 'HandleData', 13: 'FunctionTable', 14: 'UnloadedModuleList', 15: 'MiscInfo',
         16: 'MemoryInfoList', 17: 'ThreadInfoList', 18: 'HandleOperationList', 19: 'Token',
         20: 'JavaScriptData', 21: 'SystemMemoryInfo', 22: 'ProcessVmCounters', 23: 'IptTrace',
         24: 'ThreadNames', 0x43500001: 'CrashpadInfo', 0x47670001: 'BreakpadInfo',
         0x47670002: 'AssertionInfo', 0x47670003: 'LinuxCpuInfo', 0x47670004: 'LinuxProcStatus',
         0x47670005: 'LinuxLsbRelease', 0x47670006: 'LinuxCmdLine', 0x47670007: 'LinuxEnviron',
         0x47670008: 'LinuxAuxv', 0x47670009: 'LinuxMaps', 0x4767000A: 'LinuxDsoDebug'}

def peek(path):
    size = os.path.getsize(path)
    with open(path, 'rb') as f:
        head = f.read(32)
        if head[:8] in (b'PAGEDUMP', b'PAGEDU64'):
            return '%s: kernel dump (%s), not a minidump' % (path, head[:8].decode())
        if head[:4] != b'MDMP':
            return '%s: not a minidump, the first 4 bytes are %s' % (path, head[:4].hex(' '))
        if len(head) < 32:
            return '%s: header cut short at %d bytes' % (path, len(head))
        sig, ver, count, rva, check, stamp, flags = struct.unpack('<4sIIIIIQ', head)
        out = ['%s: MDMP version %#06x, %d streams, directory at byte %d' % (path, ver & 0xFFFF, count, rva)]
        out.append('  made %s UTC, flags %#x, file is %d bytes' % (
            datetime.datetime.fromtimestamp(stamp, datetime.timezone.utc).strftime('%Y-%m-%d %H:%M'), flags, size))
        if ver & 0xFFFF != 0xA793:
            out.append('  warning: the version is not 0xa793')
        if rva < 32 or rva + count * 12 > size:
            out.append('  warning: the stream list does not fit inside the file')
            return '\n'.join(out)
        f.seek(rva)
        for i in range(count):
            kind, length, where = struct.unpack('<III', f.read(12))
            name = NAMES.get(kind, 'type %#x' % kind)
            note = '' if where + length <= size else '  (ends past the end of the file)'
            out.append('  stream %d: %s, %d bytes at %d%s' % (i, name, length, where, note))
        return '\n'.join(out)

for p in sys.argv[1:]:
    print(peek(p))

Here is what it printed for three files. They are base.hdmp, a macOS Crashpad dump with 7 streams and the 8,408,702 byte full memory dump.

Three files
python3 hdmp_peek.py base.hdmp mac.hdmp full.hdmp
base.hdmp: MDMP version 0xa793, 15 streams, directory at byte 32
  made 2024-10-21 20:38 UTC, flags 0x200000, file is 42412 bytes
  stream 0: ThreadList, 244 bytes at 1800
  stream 1: ModuleList, 3676 bytes at 2056
  stream 2: FunctionTable, 624 bytes at 5732
  stream 3: MemoryList, 212 bytes at 21402
  stream 4: Exception, 168 bytes at 1632
  stream 5: SystemInfo, 56 bytes at 212
  stream 6: MiscInfo, 1364 bytes at 268
  stream 7: SystemMemoryInfo, 492 bytes at 6356
  stream 8: ProcessVmCounters, 152 bytes at 6848
  stream 9: ThreadNames, 16 bytes at 7000
  stream 10: BreakpadInfo, 12 bytes at 21390
  stream 11: Unused, 0 bytes at 0
  stream 12: Unused, 0 bytes at 0
  stream 13: Unused, 0 bytes at 0
  stream 14: Unused, 0 bytes at 0
mac.hdmp: MDMP version 0xa793, 7 streams, directory at byte 32
  made 2020-12-18 19:19 UTC, flags 0x0, file is 18512 bytes
  stream 0: SystemInfo, 56 bytes at 116
  stream 1: MiscInfo, 832 bytes at 192
  stream 2: ThreadList, 52 bytes at 1024
  stream 3: Exception, 168 bytes at 2320
  stream 4: ModuleList, 4324 bytes at 3728
  stream 5: CrashpadInfo, 52 bytes at 12872
  stream 6: MemoryList, 20 bytes at 13096
full.hdmp: MDMP version 0xa793, 13 streams, directory at byte 32
  made 2022-02-11 00:17 UTC, flags 0x40002, file is 8408702 bytes
  stream 0: ThreadList, 196 bytes at 1776
  stream 1: ModuleList, 652 bytes at 1984
  stream 2: Token, 792 bytes at 2636
  stream 3: Memory64List, 880 bytes at 11022
  stream 4: Exception, 168 bytes at 1608
  stream 5: SystemInfo, 56 bytes at 188
  stream 6: MiscInfo, 1364 bytes at 244
  stream 7: SystemMemoryInfo, 492 bytes at 3428
  stream 8: ProcessVmCounters, 152 bytes at 3920
  stream 9: Unused, 0 bytes at 0
  stream 10: Unused, 0 bytes at 0
  stream 11: Unused, 0 bytes at 0
  stream 12: Unused, 0 bytes at 0

The first line of every answer gives the version, stream count and offset. The second gives the time, flags and size. Damaged HDMP files print a reason, and the next listing shows four of them.

Four damaged copies
python3 hdmp_peek.py A1.hdmp B2.hdmp C2.hdmp A10.hdmp
A1.hdmp: not a minidump, the first 4 bytes are 4d 44 4d 58
B2.hdmp: not a minidump, the first 4 bytes are 00 00 00 00
C2.hdmp: MDMP version 0xa793, 15 streams, directory at byte 32
  made 2024-10-21 20:38 UTC, flags 0x200000, file is 32 bytes
  warning: the stream list does not fit inside the file
A10.hdmp: MDMP version 0xa793, 15 streams, directory at byte 42512
  made 2024-10-21 20:38 UTC, flags 0x200000, file is 42412 bytes
  warning: the stream list does not fit inside the file

A1 and B2 fail the first check. C2 was cut at 32 bytes, and A10 has a directory offset of 42,512 in an HDMP file of 42,412 bytes. Both print the warning that the stream list does not fit.

What the script found in our files

Our script on dump files and damaged copies
Result Cases
Read (54 of 63) The script read the 54 files with a good stream list.
Refused (9 of 63) It refused the 7 text microdumps and the 2 broken files, with a reason like "the stream list does not fit inside the file".
Refused copies (11 of 41) It refused 11 damaged HDMP files, A1, A2, A3, A4, A8, A10, B1, B2, B3, C1 and C2.
Passed with differences (19 of 30) The script passed 30 damaged HDMP files, and 19 of those came back different in at least one decoder, because the script reads no stream.
Files changed (0) The SHA256 hash of all 63 files matched the hash we took before the tests.

The script reads the header and the list and nothing else. It does not decode a stream or compare the sizes with the memory ranges. HDMP files with broken streams can pass it, so the damaged copies matter.

Check order for any HDMP file

  1. Copy the HDMP file, write its SHA256 hash and work on the copy.
  2. Read the first 4 bytes of the HDMP file. They must be 4d 44 4d 50 (MDMP). The letters PAGEDUMP or PAGEDU64 mean a kernel dump instead.
  3. Read bytes 4 to 31. The version low word is 93 a7 in all 56 of our minidumps, and the stream count and the directory offset come next.
  4. Read the stream list with our script. A warning means the list does not fit inside the file.
  5. Compare with the file command and with minidump-stackwalk. A difference points to damage or a reader limit.
  6. Count the threads and modules with the Python library, as in the Python example. Only this step reads stream contents.

Is an HDMP File Safe to Open and Share? Reading is safe, and sharing can expose paths and names

Reading an HDMP file with a reader is safe, because the file is data. Sharing one is the risk. 26 of our 56 minidumps contain a drive path, 3 contain a Users path and 28 contain environment text. A name proves nothing, because renamed copies still read as dumps.

We opened no HDMP file in a debugger and scanned none for malware. The five readers only read bytes, and the SHA256 hash of every file matched after the tests. The files come from public test folders, so their contents are not the worry here.

Reading the header of an HDMP file Safe. Our readers only read bytes, and no hash changed.
Writing down the hash Safe, and it shows which HDMP file you received.
Opening it in a debugger Visual Studio searches for the programs and symbols that the dump names, per Microsoft. We tested no debugger.
Sending an HDMP file unread 26 of 56 minidumps contain a drive path, 3 a Users path and 28 environment text. Even a small HDMP file can name accounts and folders.
Trusting the name A copy named crash.exe or crash.jpg still read as the same dump in four readers.

The rename test

We copied base.hdmp to 10 names, like memory.hdmp, crash.mdmp, crash.dmp, crash.txt, crash.jpg, crash.zip, crash.exe and a name with no ending. The file command, our script, the Python library and minidump-stackwalk read all 10 as the same HDMP file. 7-Zip opened none. The ending is a label, and the first bytes decide what a file is.

The reverse also works. We made 6 other files and gave them the ending .hdmp. They are a ZIP archive, a text note, a PNG picture, an ELF program, an empty file and a kernel dump stub that we wrote ourselves. The file command named the true type of all six.

Our script, the Python library and minidump-stackwalk refused all six. 7-Zip opened the ZIP archive and the ELF program. If your file manager hides endings, crash.hdmp.exe can look like an HDMP file. Show full file names, and read the first bytes of anything you doubt.

What an HDMP file can contain

A minidump stores threads, modules and memory ranges from the crashed program, and we expect HDMP files to store the same and more.

We searched our 56 minidumps for text. 26 contain a drive path in UTF-16, which is how Windows stores names. 3 contain a Users path, and 28 contain environment text like HOME= or PATH=. We print none of these strings.

A Users path names an account, so an HDMP file can point to a person. A dump with the full memory flag 0x2 stores the memory of the process, and our 8,408,702 byte file is the most private of the set. We tested no tool that removes these strings.

Share an HDMP file only with the person who needs it. When a header answer is enough, send the output of our script and keep the file.

Small files that ask for much memory

A header field can ask for far more data than the file has. A module count of 1 million kept the Python library busy past 40 seconds, and three copies pushed it past 3 GB. Keep your tools up to date, and set a memory limit when you read an HDMP file of unknown origin.

We tested only the readers above, and we make no claim about a debugger.

Not sure? Check it first. Copy the hash, read the header with the header script and compare another reader. If the HDMP file came in an email you did not expect, delete the message and ask the sender through another route.

Why Will Your HDMP File Not Open? Eight causes, and what to do about every one

Most HDMP files that will not open fail for one of eight reasons. Read the first bytes first, then the stream list, then count the threads and modules. Our five readers refused 5 of 41 damaged HDMP files and opened 13, and 3 of those 13 still changed a decoder answer.

We read 63 dump files and 41 damaged HDMP files with five readers. The table groups what we saw into eight causes. The number in brackets matches the cause.

Every row says what happens to the HDMP file and what to try. The fixes work on a copy, and none changes the original. A reader that says nothing is no sign that the threads and modules decode.

Eight causes of HDMP files that will not open
Cause Result and fix
A damaged signature (1) All five readers refused 5 of our 41 damaged HDMP files. They had MDMX or zeros in place of MDMP, or the first bytes were removed or pushed back. Fix: Copy the HDMP file again from the source and compare the SHA256 hash. We tested no repair.
A cut copy (2) A copy cut at 16 or 32 bytes was opened by two readers. A copy cut in half was opened by four, and neither decoder matched the intact HDMP file. Fix: Compare the size and the hash with the source, then copy the HDMP file again.
A file that is not a minidump (3) A ZIP archive, a PNG, an ELF program, a text note or a kernel dump stub named .hdmp has no MDMP letters, and three readers refused all six. Fix: Read the first 4 bytes. If they are not 4d 44 4d 50, name the type with the file command and open the file as that type.
A bad stream list (4) Four changes to the stream list of an HDMP file split the readers. They are a stream count of 0, a stream count of 4 billion, a directory offset past the end and a first stream type of 77. The file command opened all 4 copies, the Python library 2 and our script 2. Fix: Read the list with our script. A warning says it does not fit inside the file.
Damaged stream data (5) A zeroed system info stream, a thread count of 0 or a zeroed exception stream left the HDMP file readable in three to five readers and changed a decoder answer. Fix: Count threads and modules with two decoders, then ask for a new HDMP file.
A field that asks for too much (6) A first stream offset of 0 and 1000 damaged bytes in the middle of an HDMP file pushed the Python library past 3 GB. A module count of 1 million kept it busy past 40 seconds. Fix: Try minidump-stackwalk, which opened 3 of those 4 copies, and set a memory limit on the Python library.
A strict or limited reader (7) The udmp-parser reader opened 52 of 63 files and 19 of 41 copies, and it refused the full memory dump. The minidump-stackwalk reader opened 21 of 41 copies. Fix: Try another reader before you call the HDMP file damaged.
Missing symbols or a wrong debugger (8) Microsoft says a dump needs the matching binaries and symbol files. It also says Visual Studio cannot debug the older full user mode format and that kernel dumps need the Windows Driver Kit tools. Fix: Keep the program and its symbol files from the build that wrote the HDMP file. Use WinDbg for a kernel dump. We tested none of this.

Check HDMP files that will not open, step by step

We tested the reading steps on Python 3.13 and Linux. We opened no HDMP file in a debugger, and the steps keep the original untouched at every point.

  1. Copy the HDMP file, write its SHA256 hash and work on the copy.
  2. Read the first 4 bytes of the HDMP file with the check steps. If they are not MDMP, name the type with the file command.
  3. Read the stream list with the list script. A warning names the point where the HDMP file stops making sense.
  4. Compare with minidump-stackwalk, as in the stackwalk example. A report with threads and modules means the HDMP file decodes.
  5. Count the threads and modules with the Python count, and compare the numbers.
  6. If the HDMP file is smaller than the source says, copy it again and compare the hash.
  7. If one reader refuses the HDMP file, try another before you decide, as the split files show.

What to send a helper

Short messages get faster answers. Include the details below, and add the script output. Its first line gives the version, stream count and offset of the HDMP file, and later lines name every stream.

A message that gets an answer
Subject: HDMP file will not open
File: name, size in bytes and SHA256 hash
Header: the output of hdmp_peek.py
Reader: name, version and the exact words of the error
Platform: Windows build or the system that wrote the dump
Source: where the file came from and when it was copied

What no step can fix

A lost header or a cut file A header that is gone takes the HDMP file with it. Only a new copy or a backup brings it back.
Broken stream data The header and the list can look fine while the threads and modules decode wrong. We found no repair.
A strict reader The udmp-parser reader refused the full memory dump. A refusal from one reader is not proof that the HDMP file is lost.
A file with another type Read the first bytes and open it as the type it is.
Missing symbols The HDMP file is fine. Add the matching symbol files and programs, as Microsoft says.

Do not try online repair sites. A site that offers to fix or analyze any dump for free can keep the upload. An HDMP file can contain paths and account names, as the privacy check shows. Try the steps above on a copy first.

How Do You Share or Shrink an HDMP File? gzip cut our dumps to 30.5 percent of their size

gzip cut our 56 minidumps to 30.5 percent of their size, and xz cut them to 23.6 percent. The median file shrank to 23 percent and the worst to 55 percent. So the data inside is not compressed, and a compressed copy is the easy way to share an HDMP file.

Shrinking HDMP files means writing them into a compressed file. It does not change the dump. The table lists what we found for the 56 minidumps, and every row names its source.

Compression results and what we found
Type Finding and source
gzip level 9 The 56 minidumps shrank from 11,473,578 to 3,501,364 bytes, or 30.5 percent. The median file shrank to 23 percent and the worst to 55 percent. Source: Our tests.
xz The same files shrank to 2,703,380 bytes, or 23.6 percent. Source: Our tests.
The largest dump The 8,408,702 byte full memory dump shrank to 3,117,696 bytes with gzip (37.1 percent) and to 2,377,376 with xz (28.3 percent). Source: Our tests.
Round trip gunzip and xz returned the identical 42,412 bytes for base.hdmp, and cmp found no difference. Source: Our tests.

Shrink an HDMP file before you send it

For base.hdmp, gzip with level 9 gave 8,207 bytes and xz gave 7,208, from 42,412. The option -k keeps the original, so the HDMP file stays untouched.

Compress a copy of an HDMP file
gzip -9 -k base.hdmp
xz -k base.hdmp
ls -l base.hdmp* | awk '{print $5, $9}'
42412 base.hdmp
8207 base.hdmp.gz
7208 base.hdmp.xz

Compress a copy, not the original, and send the hash of the HDMP file with it. The person who receives it can unpack the file and compare the hash. Ask first, because an HDMP file can contain paths and names, as the safe part explains.

Share less than the HDMP file

The HDMP file is not always needed. The output of our script gives the version, stream count and flags, and minidump-stackwalk gives the system and crash. A support person can answer many questions from those lines.

Where Windows keeps crash dumps

Microsoft's LocalDumps setting is described on its page on collecting user mode dumps. It is off by default and needs an administrator. Dumps go to a CrashDumps folder under the local app data folder, and the count is 10 by default. Past that, Windows replaces the oldest dump.

The page names two dump types, 1 for a minidump, which is the default, and 2 for a full dump. It does not name the file ending or mention HDMP files, and we tested none of it.

Keep the original. Compression reads the dump and never changes it, and our hashes matched. Keep the original HDMP file beside the compressed copy. Do not upload an HDMP file to a site you do not know, because the upload shares it.

How Does an HDMP File Differ From MDMP, DMP and Kernel Dumps? The first bytes name the type

The first bytes name the type. MDMP files start with MDMP, kernel dumps start with PAGEDUMP and ELF files start with 7f 45 4c 46. HDMP files are MDMP plus heap data per Microsoft, and we found no public sample to compare.

Six types get mixed up with HDMP files because they all come from crashes or from programs. The table lists what separates them. Every row ends with its source.

HDMP, MDMP, DMP, kernel dump, full memory dump and ELF files compared
Type What separates it
HDMP file Microsoft describes it as MDMP plus heap data. We found no public sample, so we cannot print the first bytes of an HDMP file. Source: Microsoft FAQ.
MDMP file Starts with 4d 44 4d 50. Microsoft calls it the default minidump with stacks and loaded modules. 56 of our files start this way. Source: Microsoft FAQ and our tests.
DMP file from LocalDumps Written when an administrator switches on the LocalDumps setting. Type 1 is a minidump and type 2 a full dump. The Microsoft page does not name the ending, and all 63 of our files end in .dmp. Source: Microsoft and our tests.
Kernel dump Starts with PAGEDUMP or PAGEDU64 and needs the Windows Driver Kit debugging tools, per Microsoft. We tested only a stub that we wrote. Source: Microsoft and our tests.
Full memory dump Flags 0x2, as in our 8,408,702 byte file with a Memory64 list and a token stream. Visual Studio cannot debug the older full user mode format. Source: Our tests and Microsoft.
ELF core file Starts with 7f 45 4c 46. Our ELF file overview covers the format. Our ELF test file named .hdmp was refused by three dump readers. Source: Our tests.

Separate them with our script

Our script reads the first 4 bytes of an HDMP file and refuses any file that does not start with MDMP. For a ZIP file it says the first 4 bytes are 50 4b 03 04. For a kernel dump it says the file is a kernel dump. It never guesses.

Why the ending misleads

All 63 of our study files end in .dmp, and 7 of them are text. Ten renamed copies of one dump read the same under every name. An ending is a label, and the first bytes say what a file is. The same is true for HDMP files.

Which one do you have

Your HDMP file Check the HDMP file with the check part before you share it.
A Linux program Read the ELF file format page for the format that starts with 7f 45 4c 46.
A Windows program Read the EXE file format page for programs that a name like crash.exe can imitate.
A generic data file Read the DAT file format page for files with the generic ending .dat.

What Is the HDMP File Format Made Of? The facts we could check, and where they came from

Microsoft describes HDMP files as MDMP files plus heap data, and it documents the MDMP layout. The facts below come from Microsoft, FileInfo and our checks of 63 dump files and 41 damaged HDMP files.

Facts about the HDMP file format
Part What we could check
Maker Microsoft. The Windows Error Reporting FAQ lists HDMP files among its dump types.
Name Heap dump. FileInfo files HDMP files as a Windows Heap Dump, developed by Microsoft.
First bytes 4d 44 4d 50 (MDMP) in all 56 of our minidumps. Microsoft's header page names the signature but gives no number, and we found no public HDMP file.
Header 32 bytes in an MDMP file, per Microsoft. We expect the same in HDMP files. It has a signature, a version, a stream count, a directory offset, a checksum, a time stamp and 64 bit flags.
Version The low word is 0xa793 in all our files. Microsoft calls the high word implementation specific.
Streams 12 byte entries with a type, a size and an offset. Microsoft names types up to 24 and reserves values up to 0xffff. Breakpad and Crashpad use higher values.
Flags MINIDUMP_TYPE values. 0x2 is full memory, 0x100 process and thread data, 0x200 private read write memory, 0x40000 token information and 0x200000 AVX state.
Compression None inside our files. gzip cut them to 30.5 percent of their size.
Endings .hdmp and .mdmp. Our study files end in .dmp.
Origin FileInfo says HDMP files come from Windows XP or Vista. We could not check it, and our minidumps include builds from 2600 to 22631.
Our tests 63 dump files, 41 damaged copies, 10 renamed copies, 6 other files, five readers and a 45 line script on Linux.

About the values we list

Facts about the layout come from Microsoft's pages and our dump files, and every row names its source. We read the header, type and stream type pages on Microsoft Learn. The signature value comes from our files, because Microsoft's header page names the constant and gives no number.

FileInfo and Filext are directories, so we use them for the ending and the name of HDMP files only. Where they disagree with our tests, as on compression, we say so.

What we left out

We found no public HDMP file, so every test used a dump with the MDMP header. We opened no file in Visual Studio or WinDbg, tested no kernel dump beyond a stub that we wrote and scanned no file for malware. We tested no repair and no deletion.

Our 63 files come from 4 public test folders, and many are odd on purpose. Our damaged copies change one thing at a time in one dump. A reader that fails on our files can still work on your HDMP file, and the reverse is true as well.

Sources checked

For the layout, see the Microsoft page on MINIDUMP_HEADER, the MINIDUMP_TYPE page and the MINIDUMP_STREAM_TYPE page. For the dump types, see the archived Windows Error Reporting FAQ.

For tools, see the Visual Studio page on dump files, the WinDbg page on opening a crash dump and the overview of minidump files.

For the ending, see the FileInfo page on HDMP files and the Filext page on HDMP files. For the reporting system, see Wikipedia on Windows Error Reporting.

Every count came from the files and scripts in our research folder.

Frequently Asked Questions About HDMP Files

What is an HDMP file?

An HDMP file is a Windows crash dump that stores heap data. Microsoft's Windows Error Reporting FAQ describes HDMP files as MDMP minidumps plus heap data. We found no public sample, so our tests used 56 dump files in the MDMP format.

How do I open an HDMP file?

Visual Studio and WinDbg open crash dumps, per Microsoft, and FileInfo lists Visual Studio 2022 for HDMP files. We tested five other readers on 63 dump files instead. The file command opened 56, the Python library 55 and minidump-stackwalk 54.

What does HDMP stand for?

HDMP is short for heap dump. Microsoft's FAQ lists .hdmp as MDMP plus heap data and lists .mdmp as the default minidump with stacks and loaded modules. FileInfo calls an HDMP file a Windows Heap Dump.

Is an HDMP file safe to open?

Reading an HDMP file with a reader is safe, because the file is data. Sharing it is the risk. 26 of our 56 minidumps contain a drive path, 3 a Users path and 28 environment text. We opened no file in a debugger and scanned none for malware.

What is inside an HDMP file?

We found no public HDMP file, so this comes from MDMP files. They have a 32 byte header that starts with MDMP, a stream list of 12 byte entries and the streams. Our example HDMP file, base.hdmp, is 42,412 bytes long with 15 streams, 5 threads and 34 modules.

Can I delete an HDMP file?

We did not test deletion, and the Microsoft pages we read give no deletion steps. Microsoft says LocalDumps keeps 10 dumps by default and replaces the oldest. Copy the HDMP file and write its hash before you delete anything, in case a support person asks for it.

How do I shrink an HDMP file?

Use gzip or xz on a copy. They cut our 56 minidumps to 30.5 and 23.6 percent of their size, and base.hdmp unpacked to the identical 42,412 bytes. The data inside is not compressed, so the saving on an HDMP file is large.

Why will my HDMP file not open?

Eight causes cover what we found. The first four are a damaged signature, a cut copy, a bad stream list and damaged stream data. The last four are a field that asks for too much, a strict reader, missing symbols and a file that is not a minidump. Read the first 4 bytes of the HDMP file first.

What is the difference between HDMP and MDMP?

Microsoft's FAQ lists MDMP as the default minidump with stacks and loaded modules, and HDMP as MDMP plus heap data. 56 of our files start with the MDMP letters. We could not compare an HDMP file with them, because we found none.

How can I check if an HDMP file is damaged?

Read the first 4 bytes, then the stream list, then count the threads and modules with two readers. Five readers split on 23 of our 41 damaged HDMP files, and only 11 came back the same in both decoders.

Can a renamed HDMP file still be a dump?

Yes. We copied one HDMP file to 10 names, like crash.txt and crash.jpg, and four readers read all 10 as the same dump. The ending is a label, and the first bytes decide what the file is.

Does Windows 11 still make HDMP files?

We could not confirm it. FileInfo says Windows XP or Vista, and Microsoft's FAQ names XP, Vista and Windows 7 in its notes on viewing reports. We found no public HDMP file from a newer build, so we make no claim.

Still Stuck With an HDMP File? Seven routes out, depending on what went wrong

Your HDMP file will not open

Read the first bytes and the stream list of the HDMP file. The cause table lists what to try in order.

You need to share it

Compress a copy of the HDMP file and read what it contains first. The share part shows the numbers.

Is it a Windows program? The page on Windows programs covers EXE files, which a name like crash.exe can imitate.

Is it a Linux program? The page on ELF files covers the Linux format that starts with 7f 45 4c 46.

Is it a generic data file? The page on DAT files covers files with the generic ending .dat.

Is it a file type you do not know? Browse the file extension resource library, or send it on the submit a file type page.

Do you need the format facts? Read the format part for the header, streams and sources of HDMP files.