!address -summary and !heap -s disagree on mem leak?

廉价感情. 提交于 2019-12-04 06:26:41

It seems that the 32 GB are hidden behind the lines starting with Virtual block. I created a sample program which alloces a 100 MB block of memory using the HeapAlloc() function.

In WinDbg 6.12.0002.633, 6.2.9200.16384 and 6.3.9600.16384, every time I allocate such a block, it shows up as an additional line Virtual block: <address> - <address> (size 00000000).

Unfortunately I have no idea of how to get the correct size.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!