Virtual Memory without Pagefiles

  • Thread starter Thread starter alshipman
  • Start date Start date
A

alshipman

Hi,

I've seen a number of posts on XP embedded and pagefiles so I hope I
haven't missed anything...

I have a system that specifies no pagefiles - blank setting for
pagefiles in the registry, although the registry does define "Disable
Paging Executive" as zero.

When I use pslist -m (see www.sysinternals.com) on the system it
displays a virtual memory usage for each process. The combined total of
these, even without the system cache is MORE than the 491MB of physical
memory available.

We aren't writing to disk (i.e using a RAM overlay/EWF - apologies if
incorrect terms used here - I didn't set it up) - as a checksum of the
disk content is performed.

Is it possible for a system to have Virtual Memory without pagefiles ??

Does the presence of the "paging executive" allow for this ?

Is the "Paging executive" another term for Cache Manager ?

If the virtual memory usage calculated by "pslist" is a correct figure,
does anyone know how to calculate such a value ?

Is there a way to force the system, or a given process to exist on only
physical memory ?

I'm knew to Windows System programming and Xpe so help with these
questions is greatly appreciated.

Thanks,
Alister
 
Hi Alister,
Is it possible for a system to have Virtual Memory without pagefiles ??
Yes, since API function MapViewOfFile is working just fine. And this is a virtual memory and even use same driver support that page
file uses.
Is there a way to force the system, or a given process to exist on only
physical memory ?

Yes. For system drivers etc there are global registry entries for that purpose. But I never actualy tested them.

What I know is that from code you can do that. From drivers you have full control and from user mode you have somewhat more limited
one.
Look at API functions SetProcessWorkingSetSizeEx, VirtualLock

Regards,
Slobodan
 
Back
Top