I know this is a lame question, but I want to understand why CentOS consumes my Physical memory when certain process stopped. Suppose I have opened a file of 10GB then it consumes 10GB in ram and buffers when I finished the process and closes the file, then CentOS still holds my 10GB of ram.
When I run free
command it gives me following details:
11.4 GB are used
in buffers: 6336
in cached: 49168
-/+ buffers/cache: 11.4GB used
when I try to free up my memory using following solutions:
How do you empty the buffers and cache on a Linux system?
How to clear memory cache in Linux
Setting /proc/sys/vm/drop_caches to clear cache
-/+ buffers/cache: still holds 11.4 GB.