The Computer Oracle

Is it possible to hint Windows to bring a process completely out of swap

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5

--

Chapters
00:00 Is It Possible To Hint Windows To Bring A Process Completely Out Of Swap
00:52 Answer 1 Score 1
01:32 Accepted Answer Score 2
01:50 Thank you

--

Full question
https://superuser.com/questions/600698/i...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #process #swap

#avk47



ACCEPTED ANSWER

Score 2


KerrekSB developed a special tool for this purpose:

https://stackoverflow.com/a/2940209/684229

It is available on GiTHUB with binaries: https://github.com/louisdx/unpage

During the run, you get lots of errors "Failed to read one byte from 0x....000, error 299 (0 bytes read)", but it is not a problem, the tool works great.




ANSWER 2

Score 1


You can use Process Lasso to give a process a Memory page priority :

Beginning with Windows Vista, each memory page has a priority ranging from 0 to 7. The Standby List is divided into eight lists that each handle pages of a different priority. When the Memory Manager wants to take a page from the Standby List, it takes pages from the low-priority lists first. "

Process Lasso can help manage memory priorities by allowing persistent memory priorities to be set for processes, so that their virtual memory pages are set to a specific priority each time run.

Process Lasso has two versions : free and commercial ($18.95 with trial).