Linux physical memory usage is too high

Source: Internet
Author: User
I tested it on the server with a probe: I found that the physical memory usage is so high, I think the memory is not enough? This is not the case: high memory usage

Tested with a probe on the server:

I found that the physical memory usage is so high, I think the memory is not enough? Actually not like this:

High memory usage is a feature of linux. Linux uses the maximum physical memory to avoid swap space. in addition to the memory occupied by the kernel and applications, the Linux system uses the remaining memory for cache ), the advantage of this is that the memory access latency of running programs is relatively small, reducing unnecessary swap-in and out, and improving the system performance. In this way, even if you use a large amount of memory, the usage will be very high.

I used the free command to view the memory:

Parameter description:

Men:

Total: total physical memory size.

Used: used.

Free: available.

Shared: the total memory Shared by multiple processes.

Buffers/cached: disk cache size.

-/+ Buffers/cached:

Used: total memory used

Free: the actual available memory of the system.

I am not very familiar with this free command. I have studied it in a few days.

Related Article

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.