Dominique
Dominique

Reputation: 17565

Avoid "Unknown" in heap_stat.py Windbg dump analysis

I'm using the heap_stat.py Python script for analysing memory dumps, in order to detect memory leaks, but I'm having following issue: regularly the "statistics" part contains following kind of "information":

            Type name    Count      Size
            =========    =====      ====
                  ...      ...       ...
oleaut32!CProxyWrapper    3944    Unknown
mfc110u!CPtrArray          148    Unknown

After some research, it looks like the "Unknown" part comes from the dump itself (I mean, the issue is not that the information is present in the dump and wrongly read, it looks like the information is not present in the dump).

Generally dump are taking using procdump -ma on customers' system (I mean that any solution should work on the resulting *.dmp file, I can't alter customers' systems).

Is there a way to increase the amount of information in the dump, so that the word "Unknown" does not show up in the memory dump statistics? (You can imagine that an "Unknown" piece of information make memory leak investigations quite difficult :-( )

Upvotes: 0

Views: 113

Answers (0)

Related Questions