Finding cause of kernel memory leak

Hi all,

I am currently investigating a kernel memory leak in a pool that has a
tag. Does Windbg have facilities for determining the cause of a
kernel memory leak? OR, are there better tools than Windbg for
determining the cause of a memory leak.

Thanks,
J

Use verifier.exe and select “Pool tracking” on your driver.


From: Jonathon
To: Kernel Debugging Interest List
Sent: Friday, July 29, 2011 11:58 PM
Subject: [windbg] Finding cause of kernel memory leak

Hi all,

I am currently investigating a kernel memory leak in a pool that has a
tag.? Does Windbg have facilities for determining the cause of a
kernel memory leak?? OR, are there better tools than Windbg for
determining the cause of a memory leak.

Thanks,
J


WINDBG is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

ah perfect. thanks :slight_smile:

On Fri, Jul 29, 2011 at 3:01 PM, Calin Iaru wrote:
> Use verifier.exe and select “Pool tracking” on your driver.
> ________________________________
> From: Jonathon
> To: Kernel Debugging Interest List
> Sent: Friday, July 29, 2011 11:58 PM
> Subject: [windbg] Finding cause of kernel memory leak
>
> Hi all,
>
> I am currently investigating a kernel memory leak in a pool that has a
> tag.? Does Windbg have facilities for determining the cause of a
> kernel memory leak?? OR, are there better tools than Windbg for
> determining the cause of a memory leak.
>
> Thanks,
> J
>
> —
> WINDBG is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
>
> —
> WINDBG is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

I also find Poolmon.exe (http://support.microsoft.com/kb/177415) to be
very useful once you have the correct flags turned on using either
Verifier or Gflags. It gives you live (refreshed every few seconds)
statistics, such as number of allocations and frees being made, of
each pool being tracked.

Hao

On Fri, Jul 29, 2011 at 5:01 PM, Calin Iaru wrote:
> Use verifier.exe and select “Pool tracking” on your driver.
> ________________________________
> From: Jonathon
> To: Kernel Debugging Interest List
> Sent: Friday, July 29, 2011 11:58 PM
> Subject: [windbg] Finding cause of kernel memory leak
>
> Hi all,
>
> I am currently investigating a kernel memory leak in a pool that has a
> tag. Does Windbg have facilities for determining the cause of a
> kernel memory leak? OR, are there better tools than Windbg for
> determining the cause of a memory leak.
>
> Thanks,
> J
>
> —
> WINDBG is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
>
> —
> WINDBG is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer