Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

Ubuntu uses only 9.7% of the physical memory and 66% of the virtual memory (swap).

How can I tell the system to take advantage of the physical memory so it would run normally?

share|improve this question
can you post the screenshot of top? – Karlson Feb 5 '12 at 3:15
What is your swappiness? ( $ cat /proc/sys/vm/swappiness ) – int_ua Feb 5 '12 at 3:28
How much physical memory (RAM) do you have. That is important information to give. – grahammechanical Feb 5 '12 at 3:38
up vote 2 down vote accepted

The simplest way to tell the system not to use swap is to simply turn it off:

sudo swapoff -a

This way the OS will have to choice. But if you have 66% of swap in use and only 10% of physical memory there is something very wrong.

share|improve this answer
Thanks You i'll try it . Any more seggestion? – yinon Feb 5 '12 at 15:17

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.