Unable to use umdh from Windows SDK anymore

825 Views Asked by At

I used to use umdh for years to successfully track down memory leaks, however as of late it doesn't seem to be working anymore, even with the very latest version of the Windows SDK. The latest case of where it's not working is on Windows 11. Gflags is correctly set etc., but I always get this message:

Warning: UMDH didn't find any allocations that have stacks collected.
Warning: Traces could not be callected because the Stack Trace Database is full.
Warning: Increase the size of the Stack Trace Database using GFLAGS.

All attempts to tweak the size of the stack trace DB have not resolved the issue.

2

There are 2 best solutions below

1
On

I had the same problem. Switched to the Windows Performance Toolkit / xperf now. https://digitalhouseblog.wordpress.com/2010/12/20/using-the-windows-performance-toolkit-to-find-memory-leaks/

2
On

I was facing the same problem. Downgrading the Windows SDK version worked for me. Tested with version 1803.