Lock pages for arbitrary application in memory?

  • Thread starter Thread starter Yary H
  • Start date Start date
Y

Yary H

I'm running an application that I'd rather not have swap out to
pagefile.sys- is there any way to lock it in physical memory, other than
disabling virtural memory completely? (or rewriting the app, not possible)

thanks
 
Then it's code will be dumped from memory. As code doesn't go to pagefile.sys but is dumped and reread from the exe file. So you will be paging code that is being used and keeping data that isn't.

Rewriting the app would work but will affect all other programs and perhaps the system.
 
David said:
Then it's code will be dumped from memory. As code doesn't go to pagefile.sys
but is dumped and reread from the exe file. So you will be paging code that is
being used and keeping data that isn't.

Rewriting the app would work but will affect all other programs and perhaps the system.

Sorry for not being clear- I want to lock the app's *data* pages in
physical memory.
 

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

Back
Top