Questions tagged [umdh]

User-Mode Dump Heap is a debugging utility for performing analysis of heap memory allocations for a Windows process.

User-Mode Dump Heap is a debugging utility (umdh.exe) for performing analysis of heap memory allocations for a Windows process. It can be run in one of two modes:

  1. Analyze a running process by outputting allocation information to the console or to a log file.
  2. Analyze a pair of log files by comparing them, making memory leaks easier to find.

More information is available on MSDN.

21 questions
0
votes
1 answer

Difference in memory leaks using _crtBreakAlloc compared to UMDH

While trying to diagnose memory leaks with the {,,ucrtbased.dll}_crtBreakAlloc method, I found a memory leak which depends on timing in a multithreaded environment. Due to the multithreading, it's no longer predictable, which allocation number the…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
0
votes
1 answer

UMDH/Windbg not compatible DMP file?

I'm using UMDH 6.1.7659 out of the latest Windows Debugging Kit. I'm wanting to try and generate a dmp file that I can look at in WINDBG to investigate a memory leak in an unmanaged 64-bit C++ EXE: set _NT_SYMBOL_PATH=<.PDB_file_directory> umdh…
pathrider
  • 844
  • 2
  • 12
  • 27
0
votes
0 answers

Memory leak Investigation

I am investigating memory of an application running on 32-bit Win 7, built with mixed mode (VC++ and C#.net) I've already gone through the following steps in trying to analyze the cause for the leak: enabled user mode stack trace database in…
KVj
  • 1
  • 1
0
votes
3 answers

Understanding UMDH Warnings

I am new to using UMDH, and I am having some trouble understanding how to proceed with some of the errors it is outputting. I follow the typical usage (from the MS site): gflags -i OCES.exe +ust In another terminal window: OCES.exe And then back…
0
votes
0 answers

Deleting a pointer to array and UMDH log

I was investigating a memory leak with the application written in C# & C++. Once I have isolated it to couple of C++ components with PerfMon log and WinDbg/SOS debugging I tried to use UMDH (gflags enabled with +ust) to compare snapshots and find…
Prasad
  • 1
  • 1
0
votes
1 answer

umdh.exe -g option

Am using umdh.exe to analyze possible memory leak. I have a question regarding the '-g' option of umdh.exe. I searched the web, and the available documentation says "Logs the heap blocks that are not referenced by the process ("garbage…
Kiran
1
2