无法再使用来自Windows SDK的umdh。

huangapple go评论59阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年6月1日 23:41:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/76383611.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定