Run app only in swap

bux asked:

I’ve a very low priority level program who consume large of memory. I need to free RAM for other programs. My objective is to kill -STOP <pid> this process and “`kill -CONT when i need it. But RAM consumtion still problematic.

So:

Is it possible to run program only in swap ? If yes how ?

My answer:


No. Things that are swapped out are, by definition, not in memory and not eligible to be executed.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.