OOM mitigation
commitc15087c8e8bc980a74bfc9c1bfd5d770802f0ee2
authormalc <av1474@comtv.ru>
Sat, 12 Jun 2010 23:36:08 +0000 (13 03:36 +0400)
committermalc <av1474@comtv.ru>
Sat, 12 Jun 2010 23:36:08 +0000 (13 03:36 +0400)
tree553b4443cc7473d9fbeefc5d1b1802c84b819da7
parent033f9cf37d01e032b8e02968ce55d29767c41499
OOM mitigation

Paging through ai_systems_of_l4d_mike_booth.pdf on this machine
eventually triggers OOM, so even though this machine is perhaps
atypical:
  512M, no swap, no overcommit, one instance of seamonkey 1.1.18,
  one of namoroka 3.6, one xemacs and a bunch of rxvts:

   ~$ free
                total       used       free     shared    buffers     cached
   Mem:        512776     361056     151720          0       8868     201812
   -/+ buffers/cache:     150376     362400
   Swap:            0          0          0

let's play it safe.
link.c