2010年7月14日

摘要: UMDH UMDH是基于trace或者dump想法的工具。在使用UMDH之前首先要使用GFlags enable stack trace。然后在leak之前和leak之后分别对stack trace做dump,然后对前后的trace做比较。下面是比较后结果的一个示例: 对各个数字的含义使用红字标出 + 25be880 [两次的数值差,表明在两次dump之间同样的call stack 又分配了多少内存]( 25ce890[第二次stace中分配的总byte数] – 10010[第一次strac中分配的总byte数]) 1c allocs BackTraceB30BBE0+ 1b [两个dump之 阅读全文
posted @ 2010-07-14 19:49 做个不善的人 阅读(805) 评论(0) 推荐(0)
 
摘要: If you think that you are experiencing a memory leak, be aware that memory leaks may not be what they appear to be. You may discover that a memory leak is not a true memory leak, but is a performance enhancement. For example, the Microsoft Jet database engine can consume large amounts of memory (up 阅读全文
posted @ 2010-07-14 16:59 做个不善的人 阅读(709) 评论(0) 推荐(0)