I just though this discussion about memory leaks could really fit well
into the FAQ.
Mat
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Farooque Khan
Sent: Wednesday, October 22, 2003 2:05 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Re: How to detect memory leak???
> I can send you (if you want) a tool that is pretty intuitive and
how about putting it on web
and giving us all a link to it?
This can help a lot of people.
–
-Farooque Khan
http://farooque.150m.com
“Vladimir Chtchetkine” wrote in
message
news:xxxxx@ntdev…
I can send you (if you want) a tool that is pretty intuitive and
monitors your driver for different types of memallocs (pools/lookasides)
and pinpoints allocations to the source code. I’ve been using it for a
while and it works for me just fine.
Vladimir
-----Original Message-----
From: David [mailto:xxxxx@yahoo.com]
Sent: Tuesday, October 21, 2003 6:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to detect memory leak???
Hi,
I got a USB device driver to fix. Problem, this driver
is leaking memory. I used poolmon.exe, it shows the
memory leak, but I could not figure out the piece of
code which is leaking.
Can anyone tell me the how can I locate the leaking
code?
TIA…
Dav
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as:
xxxxx@borland.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@cvdsinc.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Well, I couldn’t find an appropriate place for it. So I’m sending this
tool “on demand” 
-----Original Message-----
From: Farooque Khan
[mailto:xxxxx@borland.com]
Sent: Tuesday, October 21, 2003 11:05 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Re: How to detect memory leak???
> I can send you (if you want) a tool that is pretty intuitive and
how about putting it on web
and giving us all a link to it?
This can help a lot of people.
–
-Farooque Khan
http://farooque.150m.com
“Vladimir Chtchetkine” wrote in
message
news:xxxxx@ntdev…
I can send you (if you want) a tool that is pretty intuitive and
monitors your driver for different types of memallocs (pools/lookasides)
and pinpoints allocations to the source code. I’ve been using it for a
while and it works for me just fine.
Vladimir
-----Original Message-----
From: David [mailto:xxxxx@yahoo.com]
Sent: Tuesday, October 21, 2003 6:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to detect memory leak???
Hi,
I got a USB device driver to fix. Problem, this driver
is leaking memory. I used poolmon.exe, it shows the
memory leak, but I could not figure out the piece of
code which is leaking.
Can anyone tell me the how can I locate the leaking
code?
TIA…
Dav
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as:
xxxxx@borland.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as:
xxxxx@borland.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
BTW: does anybody (MS guys?) know if msdia20.dll (which comes with
VisStudio DIA SDK) is redistributable?
-----Original Message-----
From: Vladimir Chtchetkine
Sent: Wednesday, October 22, 2003 8:39 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Re: How to detect memory leak???
Well, I couldn’t find an appropriate place for it. So I’m sending this
tool “on demand” 
-----Original Message-----
From: Farooque Khan
[mailto:xxxxx@borland.com]
Sent: Tuesday, October 21, 2003 11:05 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Re: How to detect memory leak???
> I can send you (if you want) a tool that is pretty intuitive and
how about putting it on web
and giving us all a link to it?
This can help a lot of people.
–
-Farooque Khan
http://farooque.150m.com
“Vladimir Chtchetkine” wrote in
message
news:xxxxx@ntdev…
I can send you (if you want) a tool that is pretty intuitive and
monitors your driver for different types of memallocs (pools/lookasides)
and pinpoints allocations to the source code. I’ve been using it for a
while and it works for me just fine.
Vladimir
-----Original Message-----
From: David [mailto:xxxxx@yahoo.com]
Sent: Tuesday, October 21, 2003 6:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to detect memory leak???
Hi,
I got a USB device driver to fix. Problem, this driver
is leaking memory. I used poolmon.exe, it shows the
memory leak, but I could not figure out the piece of
code which is leaking.
Can anyone tell me the how can I locate the leaking
code?
TIA…
Dav
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as:
xxxxx@borland.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as:
xxxxx@borland.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as:
xxxxx@borland.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
BTW, for those who already have DriverStudio which I know at least one
poster on this thread does, BoundsChecker DriverEdition does an excellent
job of tracking memory. You can right click on a reported leak and get the
callstack where the leak occurred. Takes you right to the source of the
leak. Very nice feature.
–
Bill McKenzie
Compuware Corporation
Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
http://frontline.compuware.com/nashua/patches/utility.htm
“Mathieu Routhier” wrote in message
news:xxxxx@ntdev…
>
> I just though this discussion about memory leaks could really fit well
> into the FAQ.
>
> Mat
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Farooque Khan
> Sent: Wednesday, October 22, 2003 2:05 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Re: How to detect memory leak???
>
>
> >> I can send you (if you want) a tool that is pretty intuitive and
>
> how about putting it on web
> and giving us all a link to it?
> This can help a lot of people.
>
> –
>
> -Farooque Khan
> http://farooque.150m.com
>
>
>
>
> “Vladimir Chtchetkine” wrote in
> message
> news:xxxxx@ntdev…
>
> I can send you (if you want) a tool that is pretty intuitive and
> monitors your driver for different types of memallocs (pools/lookasides)
> and pinpoints allocations to the source code. I’ve been using it for a
> while and it works for me just fine.
>
> Vladimir
>
> -----Original Message-----
> From: David [mailto:xxxxx@yahoo.com]
> Sent: Tuesday, October 21, 2003 6:51 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] How to detect memory leak???
>
> Hi,
> I got a USB device driver to fix. Problem, this driver
> is leaking memory. I used poolmon.exe, it shows the
> memory leak, but I could not figure out the piece of
> code which is leaking.
> Can anyone tell me the how can I locate the leaking
> code?
>
> TIA…
>
> Dav
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@borland.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@cvdsinc.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
Ooooops, I forgot to mention on my earlier note.
Yes it does have the feature and very nice …
-prokash
----- Original Message -----
From: “Bill McKenzie”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Wednesday, October 22, 2003 9:25 AM
Subject: [ntdev] Re: FORFAQ: How to detect memory leak???
> BTW, for those who already have DriverStudio which I know at least one
> poster on this thread does, BoundsChecker DriverEdition does an excellent
> job of tracking memory. You can right click on a reported leak and get
the
> callstack where the leak occurred. Takes you right to the source of the
> leak. Very nice feature.
>
> –
> Bill McKenzie
> Compuware Corporation
> Watch your IRPs/IRBs/URBs/SRBs/NDIS pkts with our free WDMSniffer tool:
> http://frontline.compuware.com/nashua/patches/utility.htm
>
>
> “Mathieu Routhier” wrote in message
> news:xxxxx@ntdev…
> >
> > I just though this discussion about memory leaks could really fit well
> > into the FAQ.
> >
> > Mat
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Farooque Khan
> > Sent: Wednesday, October 22, 2003 2:05 AM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] Re: How to detect memory leak???
> >
> >
> > >> I can send you (if you want) a tool that is pretty intuitive and
> >
> > how about putting it on web
> > and giving us all a link to it?
> > This can help a lot of people.
> >
> > –
> >
> > -Farooque Khan
> > http://farooque.150m.com
> >
> >
> >
> >
> > “Vladimir Chtchetkine” wrote in
> > message
> > news:xxxxx@ntdev…
> >
> > I can send you (if you want) a tool that is pretty intuitive and
> > monitors your driver for different types of memallocs (pools/lookasides)
> > and pinpoints allocations to the source code. I’ve been using it for a
> > while and it works for me just fine.
> >
> > Vladimir
> >
> > -----Original Message-----
> > From: David [mailto:xxxxx@yahoo.com]
> > Sent: Tuesday, October 21, 2003 6:51 AM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] How to detect memory leak???
> >
> > Hi,
> > I got a USB device driver to fix. Problem, this driver
> > is leaking memory. I used poolmon.exe, it shows the
> > memory leak, but I could not figure out the piece of
> > code which is leaking.
> > Can anyone tell me the how can I locate the leaking
> > code?
> >
> > TIA…
> >
> > Dav
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product search
> > http://shopping.yahoo.com
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as:
> > xxxxx@borland.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@cvdsinc.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@garlic.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
!poolused in WinDbg or POOLMON tool in user mode.
For them to work, enable the pool tagging by setting the 0x400 bit in
NtGlobalFlag, which is in CurrentControlSet/Control/Session Manager registry.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Raul Igrisan”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, October 21, 2003 6:01 PM
Subject: [ntdev] RE: How to detect memory leak???
> by looking at the tag…
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com [mailto:bounce-ntdev-
> > xxxxx@lists.osr.com] On Behalf Of David
> > Sent: Tuesday, October 21, 2003 4:51 PM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] How to detect memory leak???
> >
> > Hi,
> > I got a USB device driver to fix. Problem, this driver
> > is leaking memory. I used poolmon.exe, it shows the
> > memory leak, but I could not figure out the piece of
> > code which is leaking.
> > Can anyone tell me the how can I locate the leaking
> > code?
> >
> > TIA…
> >
> > Dav
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product search
> > http://shopping.yahoo.com
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@aut.utt.ro
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com