Add MemoryChecker
Add MemoryChecker

1. Record mem info at fixed and low cost, by using a separate thread.
2. Allow disk merger to check mem overuse fast and accurately,
   and give them opptunity to try dumping to disk.

douban/dpark,douban/dpark,douban/dpark,douban/dpark,douban/dpark