Search This Blog

Monday, March 13, 2017

Find your Memory Leak C++

Using Performance Monitor to Find a User-Mode Memory Leak - Windows 10 hardware dev:


chasing-static-memory-leaks

i like the UMDH command to analyze memory, without the need to recompile application.

https://support.citrix.com/article/CTX120596


the command i used e.g.
umdh.exe -pn:xxx.exe -f:FirstDump.txt
umdh.exe -pn:xxx.exe -f:SecondDump.txt
umdh.exe -d -v -l  FirstDump.txt SecondDump.txt -f:Result.txt
umdh.exe -d -v -l SecondDump.txt ThirdDump.txt  -f:Result2.txt

gflags.exe  -i xxx.exe +ust

gflags.exe  -i xxx.exe -ust
dont forget 
delete all registry - gflags.exe /i xxx.exe ffffffff



No comments: