Linux has a supposable good memory management feature that will use up any "extra" RAM you have to cache stuff. This section of the memory being used is SUPPOSED to be freely available to be taken over by any other process that actually needs it, but unfortunately my linux (two distros now, mandriva i586, and mandriva x86_64) thinks that cache memory is too important to move over for anything else that actually needs it.
I have 6 GB of good RAM in my computer. Whenever there is no disc cache being stored in the memory (ie, when i first boot the computer), everything runs great. I mean, really great. But as soon as it fills up with cache, my computer starts feeling like a 700mhz pentium 2 with windows 98 full of viruses. Its terrible.. So terrible that I almost, ALMOST, consider going back to windows (ok, maybe not)
Up until just now, I have been forced to restart every time this happens because I simply cannot get any work done while in this state of retardation. I can close every single program I'm running - and even then, simply right clicking would require some extended thinking before loading the context menu. Ridiculous.
Luckily, I found a way to clear out the cache being used. Simply run the following command as superuser (root) and watch the memory cache usage disappear.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1698901/viewspace-611515/ ,如需转载,请注明出处,否则将追究法律责任。