0

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 ?

3
  • Add more RAM to your server...? – Dan Nov 16 '14 at 17:38
  • 2
    Effectively you are asking if you can make a low priority process consume all your I/O. Even if it was possible, it sounds like a silly thing to do. – kasperd Nov 17 '14 at 0:56
  • My objective is to kill -STOP <pid> this process and kill -CONT <pid> when i need it. But RAM consumtion still problematic. – bux Nov 17 '14 at 8:12
8

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

1
  • I read of IBM system I/AS 400 allow to run swapped objects (I agree it isn't really swapped, since it doesn't make distinction between swap and RAM address space). – user2284570 Nov 16 '14 at 20:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.