Hello All,
I’ve been tearing my hair out and I think it is because of some anachronistic content on the Microsoft websites (and even in the 4th edition windows internals book).
The problem is this:
I have a critical graphics rendering application running on an x86 32-bit quad core machine under XP Pro SP3 with 4GB of RAM and a 1GB graphics card. Relax, this is not THAT question again — I know only 3GB should show up in total memory!
My process is attempting to allocate with either malloc or HeapAlloc, another 25MB of memory, after the working set is about 1.4GB and the virtual address space is about 1.7GB (by using the process explorer from MS/SysInternals). From the WS and VM size, it would seem I should be able to allocate more memory. I even checked for memory fragmentation by trying smaller values, and it seems I’m pretty close to the max amount I can allocate.
MY malloc returns NULL, and to check further, I used HeapAlloc instead which returned “not enough quota” 0xC0000017 as an exception.
After reading my new 4th edition sys internals book, I found some text referring to a paging file quota per process, and I’ve seen just scant snippets of same on the web, but nothing that tells me how to adjust it. There are hits at microsoft that say “this message means you need to have your quota increased” (duh!), which are about as useless as I can think of.
I HAVE NOT tried merely increasing my pagefile, because it is at 4095 max space anyway, but what about this pagefile quota? Is it real, or as I suspect, is it a leftover from days when windows worked more like VMS than it does now? Does increase the pagefile quota just mean increase the size of the file?
That’s not the way it was in VMS — that was pgflquo, or something (I’m SYSGEN/AUTOGEN kinda guy from those days….)
BTW, to clarify, this question IS NOT ABOUT how I could increase memory on this system, but ONLY about the pagefile quota. I know many ways to increase the memory, but I am curious about this since there appear to be no intelligent hits on it on the internet.
Does anyone out there have the answer?
-thanks
-e