UMDH Visualizer - Memory profile viewer
UMDH(User-mode Dump Heap) is a nice tool for capturing and analyzing memory status of Windows process. Example usage is:
- Download and install UMDH. You can get it by installing Debugging Tools for Windows or Windows SDK.
gflags -i MyApp.exe +ustfor start memory allocation tracing.
- Set symbol path variable. UMDH needs it. Specify both Windows symbol download location, symbol cache and the symbol path of your program where pdb files reside. For example,
umdh -pn:MyApp.exe -f:A.txtfor storing memory status into a text file A.
umdh -pn:MyApp.exe -f:B.txtagain for storing another memory status into a text file B after
MyApp.exetakes more memory.
umdh -d A.txt B.txt > Diff.txtfor creating a diff file between A and B. It is successful if nothing is printed when this execution is finished.
After opening the diff file, you might be frustrated because it cannot tell you where hotspot of memory allocation lies concisely, because UMDH diff text does not accumulate same call stacks. UMDH Visualizer does it, so you can find the hot spot easily.
How to use
Download and Run UmdhViz.exe. Latest version of .Net Framework may be needed if you are using old version of Windows.
Click File => Open and select your UMDH Diff file.
Don't forget to click "Do you know ProudNet?" if you are interested to developing a game where a cutting edge networking and server technology is needed. :)
Copyright Nettention Co., Ltd.