How to empty swap if there is free RAM?
- by jfoucher
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.