清理記憶體 ram memory
1. Sync essentials to disk first by running the following command:
# sync
2. Cleanup the RAM:
To free pagecache:
# echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes:
# echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
# echo 3 > /proc/sys/vm/drop_caches
- 發表回應前,請先登入