Currently browsing

May 2012

How to clear page cache on a GNU/Linux system

GNU/Linux systems often cache a lot of stuff and for testing purposes I need to clear it. Note the fact that emptying the cache does not actually mean freeing ram, the cached memory is freed instantly once more memory than available is requested. If you have a kernel older than …