Cetos How to increase virtual memory.

Source: Internet
Author: User

If you encounter virtual memory shortage in daily life, you need to increase the virtual memory.

The added idea is: partition partitioning-replace partition uuid-format-Add swap partition-Modify Fstab boot automatically mount.

1,FDISK/DEV/SDB divides a new partition SDB5

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/71/E6/wKioL1XarHejlorRAAJmSj9ozls294.jpg "style=" float: none; "title=" 1 "alt=" wkiol1xarhejlorraajmsj9ozls294.jpg "/>


Press T to modify the UUID of the partition to 82. Press L to see 83 for Linux standard partition UID number 82 for swap partition ID

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/71/E9/wKiom1XaqmmRL6OXAAMEqKZwYT8312.jpg "style=" float: none; "Title=" 2 "alt=" Wkiom1xaqmmrl6oxaameqkzwyt8312.jpg "/>


The modified swap partition is already 82.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/71/E6/wKioL1XarICxec-cAAFPl4Whsxw761.jpg "style=" float: Left; "title=" 3 "alt=" Wkiol1xaricxec-caafpl4whsxw761.jpg "/>









Format: MKSWAP/DEV/SDB5

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/71/E6/wKioL1XarnKTvleeAADL7YbeauU141.jpg "title=" 4.jpg " alt= "Wkiol1xarnktvleeaadl7ybeauu141.jpg"/>


Join the swap partition. SWAPON/DEV/SDB5 (Swapoff is uninstall)


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/71/E6/wKioL1XaruPyYJr1AAD4s0EF7Jo266.jpg "title=" 5.jpg " alt= "Wkiol1xarupyyjr1aad4s0ef7jo266.jpg"/>


Finally edit the/etc/fatab configuration file to let the boot automatically mount


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/71/E6/wKioL1Xar8WyTo22AAMsSZw3ExU950.jpg "title=" 6.jpg " alt= "Wkiol1xar8wyto22aamsszw3exu950.jpg"/>

Cetos How to increase virtual 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.