Hi All,
I am sending IOCTLs to my driver using DeviceIoControl(), but it returns
Error code 1450 ie. “Insufficient system resources exist to complete the requested service.”
Usermode application sends IOCTL to driver but I have seen in my WPP logs that request does to come to driver and DeviceIoControl() return the error code 1450.
I think IO manager returning failure. IOCTL uses buffered method. This happens only on vista. The frequency of sending IOCTL is very high and buffer is quite large.
In driver dynamic memory allocations are done for Nonpaged memory only. I have seen with poolmon I found no memory leaks.
But usermode application require more memory resources which it allocates using malloc() which remain allocated up to end of application.
On microsoft site it is explained that this error occures due to low paged memory, But I am not getting where I use paged pool for allocation.
Please Help me to solve the problem.
Thanks & Regards,
Amit.
> On microsoft site it is explained that this error occures due to low paged
memory
Looks like Io runs out of NONpaged memory allocating
Irp->AssociatedIrp.SystemBuffer
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
But my driver allocates nonpaged memory in IOCTL handler and release it immidiatly before returning. And I have varified that driver is not leaking memory.
This problem does not occure on any other OS except Vista.
Did you turn on driver verifier on your driver and make sure that you are not leaking memory?
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Wednesday, October 10, 2007 9:57 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Problem in DeviceIoControl()
But my driver allocates nonpaged memory in IOCTL handler and release it immidiatly before returning. And I have varified that driver is not leaking memory.
This problem does not occure on any other OS except Vista.
NTDEV 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
Which is the size of your IOCTL buffer ?
How much NP memory do you have available, before calling your IOCTL ?
-----Mensaje original-----
De: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] En nombre de xxxxx@yahoo.com
Enviado el: jueves, 11 de octubre de 2007 6:57
Para: Windows System Software Devs Interest List
Asunto: RE:[ntdev] Problem in DeviceIoControl()
But my driver allocates nonpaged memory in IOCTL handler and release it immidiatly before returning. And I have varified that driver is not leaking memory.
This problem does not occure on any other OS except Vista.
NTDEV 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 am sure that I have verified it on other OS with driver verifier, and i have verified it on Vista with poolmon. There is no memory leak.
My out buffer length is about near about 1MB.