Hi,
My driver reports the error STATUS_INSUFFICIENT_RESOURCES during some
operation and asserted. The !vm shows like this:
3: kd> !vm
...............
NonPagedPool Usage: 39462 ( 157848 Kb)
NonPagedPool Max: 65536 ( 262144 Kb)
PagedPool 0 Usage: 3120 ( 12480 Kb)
PagedPool 1 Usage: 9448 ( 37792 Kb)
PagedPool 2 Usage: 9467 ( 37868 Kb)
PagedPool 3 Usage: 9457 ( 37828 Kb)
PagedPool 4 Usage: 9468 ( 37872 Kb)
********** Excessive Paged Pool Usage *****
PagedPool Usage: 40960 ( 163840 Kb)
PagedPool Maximum: 40960 ( 163840 Kb)
********** 1359644 pool allocations have failed **********
Shared Commit: 1214 ( 4856 Kb)
Special Pool: 0 ( 0 Kb)
Shared Process: 3330 ( 13320 Kb)
PagedPool Commit: 40960 ( 163840 Kb)
Driver Commit: 6423 ( 25692 Kb)
Committed pages: 181793 ( 727172 Kb)
Commit limit: 956787 ( 3827148 Kb)
...............
So my questions are:
1. Even though PagedPool is reached its maximum limit, why don't the pages
getting paged out (around 3GB space is still available in pagefile.sys to
commit) and continue?
2. Is there any command in Windbg to find out the total memory usage of
kernel (out of 2GB) from dump file?
NB: Could not able to reproduce the issue with Driver Verifier and !poolused
also not giving anything abnormal.
Thanks,
Deepakumar