Virtual Memory without Pagefiles

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
 
S

Slobodan Brcin \(eMVP\)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top