Sample Header Ad - 728x90

How to move programs back from swap to RAM

1 vote
0 answers
74 views
Let's say I started a process that used a lot of RAM and swapped out pages of sleeping processes. Now the process has finished and I have a lot of free RAM, and the other processes are being loaded back into RAM as soon as they do something. Now there may be a long idle period where nothing happens, then the process wakes up and has to load its pages back into RAM, which can take some time. Is there any way (other than temporarily disabling swap) to load the processes back into RAM during the idle time?
Asked by allo (963 rep)
Feb 21, 2025, 09:00 PM