Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is is possible to suspend a job and force all of its memory to swap?

I've got six jobs running, and they're competing with each other for resources. So much gets wasted on system swapping that they run forever. If I could suspend three (and dump their allocated memory to disk) the remaining three could run normally. Once those finish, I could resume the others, and the total run time would be fine.

share|improve this question

migrated from Aug 24 '12 at 8:43

This question came from our site for professional and enthusiast programmers.

I doubt you need to explicitly for the memory to swap. Try just suspending the job (e.g. with bash's suspend) and see if their memory is swapped out. –  John Watts Aug 17 '12 at 14:40
I think you're right... maybe you should turn that into an answer? –  Andrew Wood Aug 17 '12 at 15:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.