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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In linux, when I do 'top' it has a column for 'virtual memory' and 'Resident memory' for each process:

5648 hap497 20 0 101m 13m 11m S 90.4 0.9 0:44.79 automated_ui_te
729 root 20 0 99004 46m 5004 S 1.0 3.0 9:24.59 Xorg

My question is how does linux determine how much memory should be moved to virtual memory and move to resident memory for each process?

Thank you.

share|improve this question

swappiness? here

share|improve this answer

Your Answer


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

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