英文:
Unable to use umdh from Windows SDK anymore
问题
我曾多年使用UMDH成功追踪内存泄漏,但最近似乎不再起作用,即使使用最新版本的Windows SDK。最近一次它无法正常工作的情况出现在Windows 11上。Gflags已正确设置等,但我始终收到以下消息:
警告:UMDH未找到已收集堆栈的任何分配。
警告:无法收集跟踪,因为堆栈跟踪数据库已满。
警告:使用GFLAGS增加堆栈跟踪数据库的大小。
所有尝试调整堆栈跟踪数据库大小的努力均未解决该问题。
英文:
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.
答案1
得分: 1
我遇到了同样的问题。现在已经切换到了Windows性能工具包/xperf。
https://digitalhouseblog.wordpress.com/2010/12/20/using-the-windows-performance-toolkit-to-find-memory-leaks/
英文:
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
得分: 1
降级 Windows SDK 版本对我也起效果了。已测试使用 1803 版本。
英文:
I was facing the same problem. Downgrading the Windows SDK version worked for me. Tested with version 1803.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论