Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

swappiness? here

share|improve this answer

Your Answer

 
discard

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.