Is it possible to unpage all memory in Windows?

Posted by Hack59 on Stack Overflow See other posts from Stack Overflow or by Hack59
Published on 2010-05-30T17:31:20Z Indexed on 2010/05/30 17:42 UTC
Read the original article Hit count: 127

Filed under:
|
|

I have plenty of RAM, however, after starting and finishing a large number of processes, it seems that most of the applications' virtual memory has been paged to disk, and switching to any of the older processes requires a very long time to load the memory back into RAM.

Is there a way, either via Windows API or via kernel call, to get Windows to unpage all (or as much as possible) memory? Maybe by stepping through the list of running processes and get the memory manager to unpage each process's memory?

© Stack Overflow or respective owner

Related posts about c

    Related posts about Windows