Dear all,
Are there any way to increase the non-paged memory quota of a process. I am check the MSDN but only found a structure names “QUOTA_LIMITS”, it seems is just designed for this purpose,but there are no more detail I can find. Such as a API of function to access this data structure.
My procedure must rise a lot of asynchorous IO and it dies with error NOT_ENOUGH_QUOTA. And I think if there are any system call can modify it to over this issue.
Thanks for any helps.
Yours,
Gamma Folk.
Non-paged pool is NOT an attribute of a ‘process’ as you think of it. True
the system process is usually a ‘4’ but it has no relationship to Win32
processes. Install more memory to increase the NPP. I think there may be
registry keys that can increase it, but it is not usually a good idea. The
system process is NOT subject to QUOTA limits, but only normal user
processes and maybe SCM type services. How much memory do you think you
want? Look at ProcessExplorer or TaskManager to see how much memory is
allocated for NPP and PP.
wrote in message news:xxxxx@ntdev…
> Dear all,
> Are there any way to increase the non-paged memory quota of a
> process. I am check the MSDN but only found a structure names
> “QUOTA_LIMITS”, it seems is just designed for this purpose,but there are
> no more detail I can find. Such as a API of function to access this data
> structure.
>
> My procedure must rise a lot of asynchorous IO and it dies with error
> NOT_ENOUGH_QUOTA. And I think if there are any system call can modify it
> to over this issue.
>
> Thanks for any helps.
>
> Yours,
> Gamma Folk.
>
Thank David J.Craig’s quickly reply. The registry key is :
I think I need to add some RAM ,Or change to x64 system. Thank you very much.
Yours,
Gamma FOLK.
In general, if you are running into these limits, particularly in the consumer / low-scale space this is often symptomatic of a design problem[1].
You should not burn that much NP pool without thinking long and hard about whether you’re really doing things correctly.
[1] Excluding specialized or high scale scenarios where an enormous workload runs into constraints (e.g. huge terminal servers or the like).
-----Original Message-----
From: xxxxx@yahoo.com
Sent: Thursday, October 08, 2009 19:28
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How to increase the nonpage memory quota of a process?
Thank David J.Craig’s quickly reply. The registry key is :
[quote]
User Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
Data Type: REG_DWORD (DWORD Value)
Value Name: PagedPoolSize, NonPagedPoolSize
Value Data: Number of bytes your paged pool memory size equals
[/quote]
I think I need to add some RAM ,Or change to x64 system. Thank you very much.
Yours,
Gamma FOLK.
—
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
Thank Ken Johnson, In fact that the problem that the windows is not a real-time OS. So I thank I can submit all request to the driver & then starting them in one time. The requests will be compeleted & occur a lot of interruptions. My driver may handle the requestions one by one in time.
So it is a must in current condition.
I would change my driver to fit this situation but the dirver may lost compatability& seems could not handle thing smoothly(Just like the humaning thinking).
Thank you for your help.
Yours
Gamma Folk.
>I need to add some RAM ,Or change to x64 system.
For XP you would be limited 256M even if you add extra memory.
Igor Sharovar
Don’t design your driver/app so that you queue things up indefinitely faster than you can process them. Adding more memory will only delay failure and will not fix the problem.
-----Original Message-----
From: xxxxx@yahoo.com
Sent: Thursday, October 08, 2009 23:21
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How to increase the nonpage memory quota of a process?
Thank Ken Johnson, In fact that the problem that the windows is not a real-time OS. So I thank I can submit all request to the driver & then starting them in one time. The requests will be compeleted & occur a lot of interruptions. My driver may handle the requestions one by one in time.
So it is a must in current condition.
I would change my driver to fit this situation but the dirver may lost compatability& seems could not handle thing smoothly(Just like the humaning thinking).
Thank you for your help.
Yours
Gamma Folk.
—
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