6

How can I tell the kernel to free cached memory during memory allocation request instead of the OOM killer terminating the application

view full story
linux-howto

http://serverfault.com – I am running Ubuntu 10.04 with the below kernel version Linux ip-10-0-1-119 2.6.32-343-ec2 #45-Ubuntu SMP Tue Feb 14 18:18:17 UTC 2012 x86_64 GNU/Linux The memory status shows that the cache is using the maximum share of the RAM. ubuntu@ip-10-0-1-12:~$ free -m total used free shared buffers cached Mem: 7702 7657 44 0 24 6137 -/+ buffers/cache: 1494 6207 Swap: 0 0 0 I understand that the OS manages it automatically and keeps the maximum share of RAM in the cache to (HowTos)