I was wondering if there is a command that frees up cached RAM
I often have 1GB cached RAM when I only have 1.7GB of RAM, and when I start an application like Minecraft (uses a lot of RAM) and the computer starts using 500MB of swap instead and becomes very very slow.
That's why I want to free up RAM before I start any games/apps.