Nguyễn Thuỳ Chi
New member
How do I clear RAM space in Linux?
Answer
Every Linux System has three options to clear cache without interrupting any processes or services.
Answer
Every Linux System has three options to clear cache without interrupting any processes or services.
- Clear PageCache only. # sync; echo 1 > /proc/sys/vm/drop_caches.
- Clear dentries and inodes. # sync; echo 2 > /proc/sys/vm/drop_caches.
- Clear pagecache, dentries, and inodes. …
- sync will flush the file system buffer.