Manually clean up the Linux cache and free up memory

Source: Internet
Author: User

Free-m This command everyone should be very familiar with 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M00/71/05/ Wkiol1xehcoysuqsaad999129o4731.jpg "title=" http://lingjing.blog.51cto.com "alt=" Wkiol1xehcoysuqsaad999129o4731.jpg "/>

System real memory We need to look at the second line because some of the caches haven't been released yet.

How Linux memory can be used: Available memory =free+buffers+cached

To manually release the Linux cache:

  1. Free-m

  2. Sync (must be before the third part)

  3. Echo 3>/proc/sys/vm/drop_caches

  4. Fee-m

  5. Echo 0>/proc/sys/vm/drop_caches


Manually clean up the Linux cache and free up memory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.