Hello Loy,
See there http://support.microsoft.com/default.aspx?scid=kb;en-us;164151
L> Before I write this utility myself - I thought someone must have
L> written such things - so why inventing the wheel?
L>
L> Problem: Memory leak in large application
L> Memory profiler does not handle the load or affect the application
L> performance
L> Memory profiler can't be installed on customer site
L> Due to the above limitation - I simulate the memory profiler work
L> using
L> comparison of dump files
L> Since the same investigation type repeat from time to time, I thought
L> it is time to automate things up.
L> The main output I need is a list of allocated types sorted by the
L> DIFFERENCE between the two dumps
L>
L> Please point me to code or tool that can do this
L>
L> Thanks
L>
L> Loy
L>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
Loy - 04 Oct 2006 08:38 GMT
Hi Michael
Sorry for not responding earlier (I was out of office for few days)
Thanks for your reply - but I couldn't find the needle in the hay stack
I searched your page for "compare" or "dump" or "dumpheap" or "dh" or
"leak" and found nothing
Could you be more specific - or quote specific lines?
Thanks
Loy
> Hello Loy,
>
[quoted text clipped - 27 lines]
> "At times one remains faithful to a cause only because its opponents do not
> cease to be insipid." (c) Friedrich Nietzsche
Loy - 04 Oct 2006 08:47 GMT
I was looking at the wrong site, but the other one is not answering my
question as well
I understand - from the lack of responses - that there is actually no
tool to compare two dump files, and specifically compare the outputs of
!sos.dh -stat -cache
I'll find the time to write such utility - please let me know if more
people need it
(or is it just crazy me)
Loy
> Hello Loy,
>
[quoted text clipped - 27 lines]
> "At times one remains faithful to a cause only because its opponents do not
> cease to be insipid." (c) Friedrich Nietzsche
Willy Denoyette [MVP] - 07 Oct 2006 16:04 GMT
When redirecting !dumpheap output to a file, you could use windiff.exe (part
of the platform sdk) to compare it with a previous !dumpheap output.
Willy.
|I was looking at the wrong site, but the other one is not answering my
| question as well
[quoted text clipped - 40 lines]
| > "At times one remains faithful to a cause only because its opponents do not
| > cease to be insipid." (c) Friedrich Nietzsche
Loy - 08 Oct 2006 10:33 GMT
Hi Willy
Thanks for your response but it does not answer my issue
Since the output of dumpheap is ordered by size and not by MT - windiff
will show lots of false differences just because lines moved up or down
of total size changed by a bit
As I wrote - I need to align two outputs of that kind (according to MT)
and then sort them according to Count or Size
Loy
Does anyone else need such utility (Do let me know)?
> When redirecting !dumpheap output to a file, you could use windiff.exe (part
> of the platform sdk) to compare it with a previous !dumpheap output.
[quoted text clipped - 46 lines]
> not
> | > cease to be insipid." (c) Friedrich Nietzsche