How to empty swap if there is free RAM?
Posted
by
jfoucher
on Ask Ubuntu
See other posts from Ask Ubuntu
or by jfoucher
Published on 2010-08-06T06:43:23Z
Indexed on
2011/01/03
13:01 UTC
Read the original article
Hit count: 349
When I open a RAM-intensive app (VirtualBox set at 2 Gb RAM), Some swap space is generally used, depending on what else I have open at the time.
However, when I quit that last application, the 2 Gb of RAM are freed, but the same swap space use remains.
How can I tell ubuntu to stop using that swap and to revert to using the RAM?
Thank you
Edit : Right now, about 2 hours after having closed VirtualBox, I have 1.6 Gb free RAM and still 770 Mb in swap.
© Ask Ubuntu or respective owner