NDIS memory allocation failure

Hi,

I am writing a miniport network driver for Vista.
After many cycles of disable/enable the driver fails on allocation failure. I don’t think that there is a memory leak in my driver (used pooltag utility and internal tracking)
Is it possible that there is a fragmentation issue? How can I debug it to and check the heap status (free bytes, contiguous memeory, …)

Thanks,
Shai

What call fails?


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

wrote in message news:xxxxx@ntdev…
> Hi,
>
> I am writing a miniport network driver for Vista.
> After many cycles of disable/enable the driver fails on allocation failure. I
don’t think that there is a memory leak in my driver (used pooltag utility and
internal tracking)
> Is it possible that there is a fragmentation issue? How can I debug it to and
check the heap status (free bytes, contiguous memeory, …)
>
> Thanks,
> Shai
>

The call that fails is NdisAllocateMemoryWithTag. I have also tried the “priority” version with the highest priority.