小编Mar*_*man的帖子

!address -summary和!heap -s对mem泄漏不一致?

我有一个32千兆字节的转储文件.!address -summary显示堆使用率为32.033 Gb,但!heap -s显示所有堆都很小(2MB或更少).关于下面显示的两个命令之间的差异的任何想法?

PS.Windbg版本6.3.9600.16384 AMD64

0:018> !address -summary

Mapping file section regions...
Mapping module regions...
Mapping PEB regions...
Mapping TEB and stack regions...
Mapping heap regions...
Mapping page heap regions...
Mapping other regions...
Mapping stack trace database regions...
Mapping activation context regions...

--- Usage Summary ---------------- RgnCount ----------- Total Size -------- %ofBusy %ofTotal
Free                                    167      7f7`f74c0000 (   7.969 Tb)               99.61%
Heap                                     95        8`02223000 (  32.033 Gb)  99.68%    0.39%
<unknown>                                33        0`032f6000 (  50.961 Mb)   0.15% …
Run Code Online (Sandbox Code Playgroud)

memory-leaks windbg

6
推荐指数
1
解决办法
1435
查看次数

标签 统计

memory-leaks ×1

windbg ×1