Swap and Memory Questions Priority?
by Nick-us from LinuxQuestions.org on (#4RF6F)
I will try to explain my problem!
I would like a specific program to run in Swap and not in RAM!
I'm compressing files with xz, the way i use xz it requires me to get 80Gb RAM. But I only have 8Gb of RAM
So if I run the program, it blocks the PC from running anything else, as it consumes all available RAM.
So I would like that when running it, it uses only SWAP, leaving my RAM free for me to keep using my PC while it is there compacting.
Or, another option...
That I could tell Linux that I don't want Atom, Firefox, Terminal, Konqueror removed from RAM. Because that way I could also use them.
Because when running xz, current programs in RAM go to SWAP, making it impossible to use them.


I would like a specific program to run in Swap and not in RAM!
I'm compressing files with xz, the way i use xz it requires me to get 80Gb RAM. But I only have 8Gb of RAM
So if I run the program, it blocks the PC from running anything else, as it consumes all available RAM.
So I would like that when running it, it uses only SWAP, leaving my RAM free for me to keep using my PC while it is there compacting.
Or, another option...
That I could tell Linux that I don't want Atom, Firefox, Terminal, Konqueror removed from RAM. Because that way I could also use them.
Because when running xz, current programs in RAM go to SWAP, making it impossible to use them.