Since 2.6.16 you need only echo to clear cached memory on Linux box.
This will clear all cached memory.
You can clear only part of it by using 1 or 2. All options:
This will clear all cached memory.
echo 3 > /proc/sys/vm/drop_caches |
- 1 to clear cached pages.
- 2 to clear dentries and inodes.
- 3 to clear all cached memory.
No comments:
Post a Comment