memory leaking in driver

Hi,

Is there any way to discover memory leaking in WDM driver?

Thank you in advance,

Andrey

Surely. Give all your allocations a distinct pool tag, and then use
!poolused in WinDbg or POOLMON.EXE on the target machine. They will show
“allocated block per tag” and “allocated bytes per tag” stats.

If the stats do grow - then you have a leak.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

“Andrey Kamchatnikov” wrote in message
news:xxxxx@ntdev…
Hi,

Is there any way to discover memory leaking in WDM driver?

Thank you in advance,

Andrey