Hi,

I used pooltag and found that the non-paged pool bytes used in HID Class
driver is increasing about 200 KB per hour and the number of allocations
minus the frees is also increasing (1 per second). The problem occurs in
Windows 2000 but does not occur in XP. We have a program and a driver that
interacts with the Hid Class driver. What in our program/driver can cause a
leak in Windows 2000 and not in XP?

Thanks,

Daniel

Re: Non-paged pool leak in HID Class driver by Doron

Doron
Mon Feb 06 11:02:08 CST 2006

does the pool usage go down when you close your app? did you tell hidclass
to increase the amount of buffers it keeps in the read buffer?

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news:3D20630D-A944-4F2E-9036-AFE976CD86F2@microsoft.com...
> Hi,
>
> I used pooltag and found that the non-paged pool bytes used in HID Class
> driver is increasing about 200 KB per hour and the number of allocations
> minus the frees is also increasing (1 per second). The problem occurs in
> Windows 2000 but does not occur in XP. We have a program and a driver that
> interacts with the Hid Class driver. What in our program/driver can cause
> a
> leak in Windows 2000 and not in XP?
>
> Thanks,
>
> Daniel



Re: Non-paged pool leak in HID Class driver by Daniel

Daniel
Tue Feb 07 14:51:26 CST 2006

I replaced the win2000 hidclass.sys with XP hidclass.sys and there is no more
leak!
I will try to find the cause of the problem but can replacing hidclass.sys
cause side effects or cause unstabilty? How do I know that Windows 2000
Service Pack 4 might have the fix?
Note: Our system uses our Windows images only and only our USB devices are
connected to the system.


Thanks,

Daniel


"Doron Holan [MS]" wrote:

> does the pool usage go down when you close your app? did you tell hidclass
> to increase the amount of buffers it keeps in the read buffer?
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> news:3D20630D-A944-4F2E-9036-AFE976CD86F2@microsoft.com...
> > Hi,
> >
> > I used pooltag and found that the non-paged pool bytes used in HID Class
> > driver is increasing about 200 KB per hour and the number of allocations
> > minus the frees is also increasing (1 per second). The problem occurs in
> > Windows 2000 but does not occur in XP. We have a program and a driver that
> > interacts with the Hid Class driver. What in our program/driver can cause
> > a
> > leak in Windows 2000 and not in XP?
> >
> > Thanks,
> >
> > Daniel
>
>
>

Re: Non-paged pool leak in HID Class driver by Daniel

Daniel
Fri Feb 17 06:45:31 CST 2006

The problem was solved by reading all the reports and emptying the reports
queue in hidclass.
--
Thanks,

Daniel


"Daniel" wrote:

> I replaced the win2000 hidclass.sys with XP hidclass.sys and there is no more
> leak!
> I will try to find the cause of the problem but can replacing hidclass.sys
> cause side effects or cause unstabilty? How do I know that Windows 2000
> Service Pack 4 might have the fix?
> Note: Our system uses our Windows images only and only our USB devices are
> connected to the system.
>
>
> Thanks,
>
> Daniel
>
>
> "Doron Holan [MS]" wrote:
>
> > does the pool usage go down when you close your app? did you tell hidclass
> > to increase the amount of buffers it keeps in the read buffer?
> >
> > d
> >
> > --
> > Please do not send e-mail directly to this alias. this alias is for
> > newsgroup purposes only.
> > This posting is provided "AS IS" with no warranties, and confers no rights.
> >
> >
> > "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> > news:3D20630D-A944-4F2E-9036-AFE976CD86F2@microsoft.com...
> > > Hi,
> > >
> > > I used pooltag and found that the non-paged pool bytes used in HID Class
> > > driver is increasing about 200 KB per hour and the number of allocations
> > > minus the frees is also increasing (1 per second). The problem occurs in
> > > Windows 2000 but does not occur in XP. We have a program and a driver that
> > > interacts with the Hid Class driver. What in our program/driver can cause
> > > a
> > > leak in Windows 2000 and not in XP?
> > >
> > > Thanks,
> > >
> > > Daniel
> >
> >
> >