Guides 11791 Published by

A tutorial on how to empty the buffer and cache memory in Linux is available from Linux Shell Tips.



How to Empty Buffer and Cache Memory in Linux

Linux provides an efficient memory management mechanism that ensures optimal utilization of memory by various programs and processes. However, if a few applications are hogging huge chunks of RAM, you might want to clear the cache.

There are a number of ways of clearing the cache without killing running processes on the system. In this guide, we explore how you can empty the memory buffer and clear the cache in a Linux system. Before we proceed further, let’s, first of all, see what a buffer and cache are.

Clearcache

How to Empty Buffer and Cache Memory in Linux