Nguyễn Pháp
New member
How do I free up memory on 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.