Archive

Posts Tagged ‘memory’

Memory management with linux

August 27th, 2012 1 comment

Tools like “top” o “cat /proc/meminfo” do not really help when trying to find out how much memory is really used by the system. “htop” does a better job but instead try:

free -m

especially the “-/+ buffers/cache” line will tell you how much RAM is really still available. How to demand your memory back from the system?

echo 3 > /proc/sys/vm/drop_caches

This will free the page cache, dentries and inodes (this is the blue and yellow marked buffer/cache part in htop).

Categories: Uncategorized Tags: , , ,