I have a process which is consuming roughly 13.5GB on a machine with 16GB running Ubuntu 14.04. The available memory according to System Monitor is 15.6GiB, of which 1.7GiB is reported as being used by other processes.

When I run my process, memory usage reaches ~85% and immediately goes to swap, crippling the process.

How can I make sure that this doesn't happen, and the process is given the highest memory priority? I don't care about CPU-priority as much, because the process only runs on a single core.

1 Answer 1


Hope this is helpful


If you really don't want to swap, get more RAM, or just #swapoff -a (not recomended, can turn your system unusable if you already have problems) on terminal.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .