VM release buffer / cache memory

 

1 echo> / proc / SYS / vm / drop_caches   # Clears pagecache. 
2 echo> / proc / SYS / VM / drop_caches   # represents scavenged slab allocator object (including a cache directory entry and the inode cache). 
                      The slab allocator is a mechanism in the kernel memory management, cache data to achieve many of which are used in pagecache.
. 3 echo> / proc / SYS / VM / drop_caches # clear the cache object and pagecache slab dispenser.

 

Guess you like

Origin www.cnblogs.com/zjfjava/p/12099918.html